This commit adds partial support for MachO relocations to RelocVisitor.
A simple test case is added to show that relocations are indeed being
applied and that using llvm-dwarfdump on MachO files no longer errors.
Correctness is not yet tested, due to an unrelated bug in DebugInfo,
which will be fixed with appropriate testcase in a followup commit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/llvm/Object/RelocVisitor.h | ||
---|---|---|
21 | Please sort this after ELFObjectFile.h |
Comment Actions
Bump. Could somebody look at the DWARFDebugLine bug fix at least? It doesn't have to do much with MachO (except that it's exposed by running it on the MachO test case). That's the major functional point that needs review here.
Comment Actions
Seems reasonable to me. The booleans to printLineInfoForInput should be annotated in the calls.
-eric
Please sort this after ELFObjectFile.h