[PATCH] D77025: [Object] Update ObjectFile::makeTriple for XCOFF

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 15:27:25 PDT 2020


MaskRay added a comment.

D76907 <https://reviews.llvm.org/D76907> will change `bdnzfl  9, $+8696` to print the target address instead. objdump -d output is not guaranteed to be able to re-assemble.

If you want to restore the `$+offset` behavior, you can customize `IP->setPrintBranchImmAsAddress(true);` in `tools/llvm-objdump/llvm-objdump.cpp`

(I'd prefer not, because powerpc*-linux-gnu-objdump -d prints the target address as well.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77025/new/

https://reviews.llvm.org/D77025





More information about the llvm-commits mailing list