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
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 | to its -> to their | |
to its -> to their