summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/debuglineinfo-macho.test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-05-31 23:15:35 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-05-31 23:15:35 +0000
commita82ce1d97ae601a3e68c19fe0e8a88a73835caed (patch)
treefe4f07a86c64cb4fe67e8548c25023807c6e462a /llvm/test/DebugInfo/debuglineinfo-macho.test
parent072a58a7fd6731251b40be7b3402364c86bf3ddb (diff)
downloadbcm5719-llvm-a82ce1d97ae601a3e68c19fe0e8a88a73835caed.tar.gz
bcm5719-llvm-a82ce1d97ae601a3e68c19fe0e8a88a73835caed.zip
For COFF and MachO, compute the gap between to symbols.
Before r238028 we used to do this in O(N^2), now we do it in O(N log N). llvm-svn: 238698
Diffstat (limited to 'llvm/test/DebugInfo/debuglineinfo-macho.test')
-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