[PATCH] D132560: [lld-macho] Add initial support for chained fixups

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 28 05:45:41 PDT 2022


thakis added inline comments.


================
Comment at: lld/test/MachO/chained-fixups-addend.s:14
+# RUN: %lld -lSystem -dylib %t/main.o -L%t -ldylib -fixup_chains -o %t/out
+# RUN: llvm-objdump --macho --chained-fixups --dyld-info %t/out | \
+# RUN:     FileCheck %s -D#OUTLINE=0 -D#ADDEND=0 -D#%x,REBASE=0x1000 --check-prefixes=IMPORT,COMMON
----------------
I just noticed that `otool -chained_fixups -dyld_info a.out` prints dyld_info output before chained_fixups output. We should probably change llvm-otool to match (and then update this test – looks like that should be doable?)


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

https://reviews.llvm.org/D132560



More information about the llvm-commits mailing list