summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/debuglineinfo-macho.test7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/debuglineinfo-macho.test b/llvm/test/DebugInfo/debuglineinfo-macho.test
index a8dfe3c3256..ac292d997ff 100644
--- a/llvm/test/DebugInfo/debuglineinfo-macho.test
+++ b/llvm/test/DebugInfo/debuglineinfo-macho.test
@@ -1,7 +1,12 @@
# 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
-RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | FileCheck %s
+RUN: llvm-rtdyld -printline %p/Inputs/test-multiple-macho.o | \
+RUN: FileCheck --check-prefix=SIZE %s
RUN: llvm-rtdyld -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s
+SIZE: Function: _bar, Size = 48
+SIZE: Function: _foo, Size = 16
+SIZE: Function: _fubar, Size = 46
+
CHECK-NOT: error: failed to compute relocation: X86_64_RELOC_UNSIGNED
OpenPOWER on IntegriCloud