1 # Check that llvm-symbolizer prints line-table discriminators properly.
3 RUN: llvm-symbolizer --output-style=GNU -f --obj=%p/Inputs/discrim 0x400590 0x400575 \
4 RUN: | FileCheck %s --check-prefix=GNU --match-full-lines
5 RUN: llvm-symbolizer --output-style=LLVM -f --obj=%p/Inputs/discrim 0x400590 0x400575 \
6 RUN: | FileCheck %s --check-prefix=LLVM --match-full-lines
9 GNU: /tmp{{[\\/]}}discrim.c:5
11 GNU: /tmp{{[\\/]}}discrim.c:10
13 GNU: /tmp{{[\\/]}}discrim.c:5 (discriminator 2)
16 LLVM: /tmp{{[\\/]}}discrim.c:5:7
18 LLVM: /tmp{{[\\/]}}discrim.c:10:0
20 LLVM: /tmp{{[\\/]}}discrim.c:5:17