[PATCH] D57939: Refactor RelocVisitor and fix computation of SHT_RELA-typed relocation entries
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 18 16:22:25 PST 2019
dblaikie added inline comments.
================
Comment at: lib/DebugInfo/DWARF/DWARFContext.cpp:1512-1515
+ // Try our best to check if Resolver can handle this relocation type. It
+ // can if it doesn't return the third argument (-1ULL). It isn't a big
+ // deal if this check fails. We just fail to catch this error early.
+ // It is a TODO to make Resolver more reliable.
----------------
What's the failure mode if this is not diagnosed here?
If there's a valid fallback/reliable failure later - could we remove this code entirely? (rather than having a best effort then fallback - seems like having two partial solutions in different places is liable to have things slip through)
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57939/new/
https://reviews.llvm.org/D57939
More information about the llvm-commits
mailing list