summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/debuglineinfo-macho.test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/DebugInfo/debuglineinfo-macho.test')
-rw-r--r--llvm/test/DebugInfo/debuglineinfo-macho.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/debuglineinfo-macho.test b/llvm/test/DebugInfo/debuglineinfo-macho.test
new file mode 100644
index 00000000000..a8dfe3c3256
--- /dev/null
+++ b/llvm/test/DebugInfo/debuglineinfo-macho.test
@@ -0,0 +1,7 @@
+# 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 -printobjline %p/Inputs/test-multiple-macho.o | FileCheck %s
+
+CHECK-NOT: error: failed to compute relocation: X86_64_RELOC_UNSIGNED
OpenPOWER on IntegriCloud