COFFObjectFile already initialized the pointers and checked their
ranges, so COFFDump should just reuse these pointers.
Depends on D126786
Paths
| Differential D126787
[llvm-objdump][COFF] Remove duplicate data dir loading AbandonedPublic Authored by alvinhochun on Jun 1 2022, 8:42 AM.
Details
Summary COFFObjectFile already initialized the pointers and checked their Depends on D126786
Diff Detail
Event Timelinealvinhochun retitled this revision from [llvm-objdump][COFF] Remove duplicate data dir loading code to [llvm-objdump][COFF] Remove duplicate data dir loading. Comment ActionsUpdate commit message Comment Actions This also needs a testcase. The description makes it sound like this is a NFC (a commit that only does pure refactoring, "No Functional Changes"), but the detail that isn't entirely obvious is that this also fixes printing (by skipping it) for the cases where there is a data directory, but the contents it points at is missing, so maybe it'd be good to spell this out a bit more clearly.
Revision Contents
Diff 433418 llvm/tools/llvm-objdump/COFFDump.cpp
|