• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: grep '^ADDR:' %s | sed -s 's/ADDR: //' \
2RUN:    | llvm-symbolizer -obj="%p/Inputs/missing_pdb.exe" 2>%t.err \
3RUN:    | FileCheck %s
4RUN: FileCheck --check-prefix=ERROR %s < %t.err
5
6ADDR: 0x401000
7ADDR: 0x401001
8
9llvm-symbolizer should print one error and two unknown line info records.
10
11ERROR: LLVMSymbolizer: error reading file: PDB Error: Unable to load PDB.  Make sure the file exists and is readable.
12ERROR-NOT: error reading file
13
14CHECK: ??
15CHECK: ??:0:0
16CHECK: ??
17CHECK: ??:0:0
18