From a82ce1d97ae601a3e68c19fe0e8a88a73835caed Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 31 May 2015 23:15:35 +0000 Subject: 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 --- llvm/test/DebugInfo/debuglineinfo-macho.test | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'llvm/test/DebugInfo') 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 -- cgit v1.2.3