chained-fixups.yaml: force little-endian output
authorNico Weber <thakis@chromium.org>
Mon, 15 Aug 2022 20:47:07 +0000 (16:47 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 15 Aug 2022 20:47:47 +0000 (16:47 -0400)
`__LINK_EDIT` contents are little-endian, so the whole file must be.
Might fix the test on big-endian systems.

llvm/test/tools/llvm-objdump/MachO/chained-fixups.yaml

index a353209..63f3fd5 100644 (file)
@@ -25,6 +25,7 @@
 ##   clang -target=x86_64-apple-macos12 -dynamiclib -isysroot Inputs/MacOSX.sdk dylib.s -o libdylib.dylib
 ##   obj2yaml --raw-segment=data libdylib.dylib
 --- !mach-o
+IsLittleEndian:  true
 FileHeader:
   magic:           0xFEEDFACF
   cputype:         0x1000007