Following D109516, this patch re-uses the new helper function for ELF relocation traversal in the x86-64 backend.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The patch aims to be NFC (except debug output format). Please ping me if I introduced a functional change by accident.
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp | ||
---|---|---|
317–318 | This causes a warning when I do a release build with clang 10.0.0: ELF_x86_64.cpp:308:13: warning: enumeration value 'PCRel32TLV' not handled in switch [-Wswitch] |
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp | ||
---|---|---|
317–318 | I'm also seeing this and build with -Werror |
llvm/lib/ExecutionEngine/JITLink/ELF_x86_64.cpp | ||
---|---|---|
317–318 | Looks like a bad merge with https://reviews.llvm.org/D109293 (thanks @bkramer for pointing this out). I'll send a fix |
clang-format suggested style edits found: