summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2016-11-22 13:46:42 +0000
committerEric Liu <ioeric@google.com>2016-11-22 13:46:42 +0000
commite86a5f4c65634d200c5654b7bc0e6277d1e86577 (patch)
tree1a692d375626ae8daa69de09735bdf4a95c87291 /llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp
parentd70c03ad684314b8b2046705fd9118555523b258 (diff)
downloadbcm5719-llvm-e86a5f4c65634d200c5654b7bc0e6277d1e86577.tar.gz
bcm5719-llvm-e86a5f4c65634d200c5654b7bc0e6277d1e86577.zip
Make llvm::Error generated from replacement interfaces more specific.
Summary: The new error information contains the type of error (e.g. overlap or bad file path) and the replacement(s) that is causing the error. This enables us to resolve some errors. For example, for insertion at the same location conflict, we need to know the existing replacement which conflicts with the new replacement in order to calculate the new position to be insert before/after the existing replacement (for merging). Reviewers: klimek, bkramer Subscribers: djasper, cfe-commits Differential Revision: https://reviews.llvm.org/D26853 llvm-svn: 287639
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud