1 # Check that relocations get applied
2 RUN: llvm-dwarfdump %p/Inputs/test-simple-macho.o | FileCheck %s
3 RUN: llvm-dwarfdump %p/Inputs/test-multiple-macho.o | FileCheck %s
4 RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | \
5 RUN: FileCheck --check-prefix=SIZE %s
6 RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s
8 SIZE: Function: _bar, Size = 48
9 SIZE: Function: _foo, Size = 16
10 SIZE: Function: _fubar, Size = 46
12 CHECK-NOT: error: failed to compute relocation: X86_64_RELOC_UNSIGNED