llvm-6502/test/tools/llvm-symbolizer/dsym.test
Alexander Potapenko 0fea775e5c [llvm-symbolizer] Introduce the -dsym-hint option.
llvm-symbolizer will consult one of the .dSYM paths passed via -dsym-hint
if it fails to find the .dSYM bundle at the default location.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220004 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-17 00:50:19 +00:00

15 lines
511 B
Plaintext

RUN: echo "%p/Inputs/dsym-test-exe 0x0000000100000f90" > %t.input
RUN: echo "%p/Inputs/dsym-test-exe-second 0x0000000100000f90" >> %t.input
RUN: llvm-symbolizer < %t.input | FileCheck %s --check-prefix=CHECK-NOHINT
RUN: llvm-symbolizer -dsym-hint=%p/Inputs/dsym-test-exe-differentname.dSYM < %t.input | FileCheck %s --check-prefix=CHECK-HINT
CHECK-NOHINT: main
CHECK-NOHINT: dsym-test.c
CHECK-NOHINT: main
CHECK-NOHINT: ??:0:0
CHECK-HINT: main
CHECK-HINT: dsym-test.c
CHECK-HINT: main
CHECK-HINT: dsym-test.c