If binary file specified as input with option --obj or -e is absent, now llvm-addr2line exits immediately. This patch extends this behavior to llvm-symbolizer. Previously llvm-symbolizer waited addresses from input stream or command line in this case. Differential Revision: https://reviews.llvm.org/D153219
6 lines
235 B
Plaintext
6 lines
235 B
Plaintext
RUN: not llvm-symbolizer 0x401000 0x401001 --obj="%p/Inputs/missing_pdb.exe" 2> %t.err \
|
|
RUN: | count 0
|
|
RUN: FileCheck -DMSG=%errc_ENOENT %s --input-file=%t.err
|
|
|
|
CHECK: llvm-symbolizer{{.*}}: error: '{{.*}}missing_pdb.pdb': [[MSG]]
|