[PATCH] D86542: [llvm/Object] - Make dyn_cast<XCOFFObjectFile> work as it should.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 23:25:51 PDT 2020
MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/tools/llvm-objdump/llvm-objdump.cpp:540
return getCOFFRelocationValueString(COFF, Rel, Result);
+ if (auto *XCOFF = dyn_cast<XCOFFObjectFile>(Obj))
+ return getXCOFFRelocationValueString(XCOFF, Rel, Result);
----------------
This reordering is unneeded...
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86542/new/
https://reviews.llvm.org/D86542
More information about the llvm-commits
mailing list