1 This test checks that when inlined frames are not shown (-i=0) and the output
2 style is set to GNU (--output-style=GNU) the name of an inlined function is not
3 replaced with the name of the top caller function. At the same time, the current
4 behavior of llvm-symbolizer is preserved with --output-style=LLVM or when
5 the option is not specified.
7 RUN: llvm-symbolizer -i=0 -e %p/Inputs/addr.exe 0x40054d \
8 RUN: | FileCheck %s --check-prefix=LLVM --implicit-check-not=inctwo
10 RUN: llvm-symbolizer --output-style=LLVM -i=0 -e %p/Inputs/addr.exe 0x40054d \
11 RUN: | FileCheck %s --check-prefix=LLVM --implicit-check-not=inctwo
13 RUN: llvm-symbolizer --output-style=GNU -i=0 -e %p/Inputs/addr.exe 0x40054d \
14 RUN: | FileCheck %s --check-prefix=GNU --implicit-check-not=main
16 RUN: llvm-addr2line -f -e %p/Inputs/addr.exe 0x40054d \
17 RUN: | FileCheck %s --check-prefix=GNU --implicit-check-not=main
19 RUN: llvm-addr2line --output-style=GNU -f -e %p/Inputs/addr.exe 0x40054d \
20 RUN: | FileCheck %s --check-prefix=GNU --implicit-check-not=main
22 RUN: llvm-addr2line --output-style=LLVM -f -e %p/Inputs/addr.exe 0x40054d \
23 RUN: | FileCheck %s --check-prefix=LLVM --implicit-check-not=inctwo