2015-05-30 21:44:53 +02:00
|
|
|
# Check that relocations get applied
|
|
|
|
RUN: llvm-dwarfdump %p/Inputs/test-simple-macho.o | FileCheck %s
|
|
|
|
RUN: llvm-dwarfdump %p/Inputs/test-multiple-macho.o | FileCheck %s
|
2015-06-01 01:15:35 +02:00
|
|
|
RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | \
|
|
|
|
RUN: FileCheck --check-prefix=SIZE %s
|
2015-05-30 21:44:53 +02:00
|
|
|
RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s
|
|
|
|
|
2015-06-01 01:15:35 +02:00
|
|
|
SIZE: Function: _bar, Size = 48
|
|
|
|
SIZE: Function: _foo, Size = 16
|
|
|
|
SIZE: Function: _fubar, Size = 46
|
|
|
|
|
2015-05-30 21:44:53 +02:00
|
|
|
CHECK-NOT: error: failed to compute relocation: X86_64_RELOC_UNSIGNED
|