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