diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-06-04 07:57:38 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-06-04 07:57:38 +0000 |
commit | 888ca964a45696a1b3e60940d3c9ad8ae677ef1c (patch) | |
tree | 0af267c776fb69ca4281881bbb6aebfb9d2c2f42 /test | |
parent | 1c611ecdfd03ecfb92162551017c7a553ff1ecd1 (diff) | |
download | external_llvm-888ca964a45696a1b3e60940d3c9ad8ae677ef1c.zip external_llvm-888ca964a45696a1b3e60940d3c9ad8ae677ef1c.tar.gz external_llvm-888ca964a45696a1b3e60940d3c9ad8ae677ef1c.tar.bz2 |
[llvm-symbolizer] Avoid calling slow getSymbolSize for Mach-O files. Assume that symbols with zero size are in fact large enough.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/DebugInfo/llvm-symbolizer.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/DebugInfo/llvm-symbolizer.test b/test/DebugInfo/llvm-symbolizer.test index d094bf9..9a7b365 100644 --- a/test/DebugInfo/llvm-symbolizer.test +++ b/test/DebugInfo/llvm-symbolizer.test @@ -1,4 +1,5 @@ RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400559" > %t.input +RUN: echo "%p/Inputs/dwarfdump-test.elf-x86-64 0x400436" >> %t.input RUN: echo "%p/Inputs/dwarfdump-test4.elf-x86-64 0x62c" >> %t.input RUN: echo "%p/Inputs/dwarfdump-inl-test.elf-x86-64 0x710" >> %t.input RUN: echo "\"%p/Inputs/dwarfdump-test3.elf-x86-64 space\" 0x633" >> %t.input @@ -10,8 +11,12 @@ REQUIRES: shell CHECK: main CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16 + +CHECK: _start + CHECK: _Z1cv CHECK-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test4-part1.cc:2 + CHECK: inlined_h CHECK-NEXT: dwarfdump-inl-test.h:2 CHECK-NEXT: inlined_g |