blob: ac292d997ff3684ecb44c6e7782a4f6b8574f513 [file] [log] [blame]
Keno Fischer281b6942015-05-30 19:44:53 +00001# Check that relocations get applied
2RUN: llvm-dwarfdump %p/Inputs/test-simple-macho.o | FileCheck %s
3RUN: llvm-dwarfdump %p/Inputs/test-multiple-macho.o | FileCheck %s
Rafael Espindolaa82ce1d2015-05-31 23:15:35 +00004RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | \
5RUN: FileCheck --check-prefix=SIZE %s
Keno Fischer281b6942015-05-30 19:44:53 +00006RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s
7
Rafael Espindolaa82ce1d2015-05-31 23:15:35 +00008SIZE: Function: _bar, Size = 48
9SIZE: Function: _foo, Size = 16
10SIZE: Function: _fubar, Size = 46
11
Keno Fischer281b6942015-05-30 19:44:53 +000012CHECK-NOT: error: failed to compute relocation: X86_64_RELOC_UNSIGNED