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-symbolizer --output-style=GNU -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
12 RUN: | FileCheck %s --check-prefix=GNU
14 RUN: llvm-addr2line -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
15 RUN: | FileCheck %s --check-prefix=GNU
17 RUN: llvm-addr2line --output-style=GNU -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
18 RUN: | FileCheck %s --check-prefix=GNU
20 RUN: llvm-addr2line --output-style=LLVM -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \
21 RUN: | FileCheck %s --check-prefix=LLVM