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. 4 5RUN: llvm-symbolizer -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \ 6RUN: | FileCheck %s --check-prefix=LLVM 7 8RUN: llvm-symbolizer --output-style=LLVM -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \ 9RUN: | FileCheck %s --check-prefix=LLVM 10 11RUN: llvm-addr2line --output-style=LLVM -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \ 12RUN: | FileCheck %s --check-prefix=LLVM 13 14LLVM: x.c:14:0 15LLVM-EMPTY: 16LLVM-NEXT: ?? 17 18RUN: llvm-symbolizer --output-style=GNU -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \ 19RUN: | FileCheck %s --check-prefix=GNU 20 21RUN: llvm-addr2line -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \ 22RUN: | FileCheck %s --check-prefix=GNU 23 24RUN: llvm-addr2line --output-style=GNU -i -e %p/Inputs/addr.exe < %p/Inputs/addr.inp \ 25RUN: | FileCheck %s --check-prefix=GNU 26 27GNU: x.c:14 28GNU-NEXT: ?? 29