ac292d997ff3684ecb44c6e7782a4f6b8574f513
[oota-llvm.git] / test / DebugInfo / debuglineinfo-macho.test
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
7
8 SIZE: Function: _bar, Size = 48
9 SIZE: Function: _foo, Size = 16
10 SIZE: Function: _fubar, Size = 46
11
12 CHECK-NOT: error: failed to compute relocation: X86_64_RELOC_UNSIGNED