Currently disassembleObject() is a ~550 lines length function.
This patch extracts the code that creates a section->its relocation
mapping into a new helper function to simplify/reduce it a bit.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. I would sound a note of caution that disassembly performance is important, but it looks like this has the potential to improve it!
tools/llvm-objdump/llvm-objdump.cpp | ||
---|---|---|
871 ↗ | (On Diff #182791) | to its -> to their |