1 # This test checks that with --output-style=GNU the tool does not print an empty
2 # line after the report for an address. The current behavior is preserved for
3 # --output-style=LLVM or if the option is omitted.
5 RUN: llvm-symbolizer -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
6 RUN: | FileCheck %s --check-prefix=LLVM
8 RUN: llvm-symbolizer --output-style=LLVM -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
9 RUN: | FileCheck %s --check-prefix=LLVM
11 RUN: llvm-addr2line --output-style=LLVM -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
12 RUN: | FileCheck %s --check-prefix=LLVM
18 RUN: llvm-symbolizer --output-style=GNU -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
19 RUN: | FileCheck %s --check-prefix=GNU
21 RUN: llvm-addr2line -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
22 RUN: | FileCheck %s --check-prefix=GNU
24 RUN: llvm-addr2line --output-style=GNU -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
25 RUN: | FileCheck %s --check-prefix=GNU