llvm-symbolizer: use dynamic symbol table if the regular one is stripped.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202265 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexey Samsonov
2014-02-26 13:10:01 +00:00
parent 2895793c6a
commit 12c9f92bb1
4 changed files with 50 additions and 29 deletions

View File

@@ -77,3 +77,9 @@ BINARY_C: main
BINARY_C-NEXT: /tmp/dbginfo{{[/\\]}}llvm-symbolizer-test.c:10
BINARY_C: _start
BINARY_C: {{g$}}
RUN: echo "0x1f1" > %t.input6
RUN: llvm-symbolizer --obj %p/Inputs/shared-object-stripped.elf-i386 < %t.input6 \
RUN: | FileCheck %s --check-prefix=STRIPPED
STRIPPED: global_func