[Instrumentation] Fix a warning
[llvm-project.git] / llvm / test / tools / llvm-symbolizer / dsym.test
blob366224d4422d71a0a81c0ce167b8aef84354001b
1 RUN: echo "%p/Inputs/dsym-test-exe 0x0000000100000f90" > %t.input
2 RUN: echo "%p/Inputs/dsym-test-exe-second 0x0000000100000f90" >> %t.input
3 RUN: llvm-symbolizer < %t.input | FileCheck %s --check-prefix=CHECK-NOHINT
4 RUN: llvm-symbolizer --dsym-hint=%p/Inputs/dsym-test-exe-differentname.dSYM < %t.input | FileCheck %s --check-prefix=CHECK-HINT
6 CHECK-NOHINT: main
7 CHECK-NOHINT: dsym-test.c
8 CHECK-NOHINT: main
9 CHECK-NOHINT: ??:0:0
11 CHECK-HINT: main
12 CHECK-HINT: dsym-test.c
13 CHECK-HINT: main
14 CHECK-HINT: dsym-test.c