On z/OS, the following error message is not matched correctly in lit tests. ``` EDC5129I No such file or directory. ``` This patch uses a lit config substitution to check for platform specific error messages. Reviewed By: muiez, jhenderson Differential Revision: https://reviews.llvm.org/D95246
14 lines
387 B
Plaintext
14 lines
387 B
Plaintext
RUN: llvm-symbolizer 0x401000 0x401001 -obj="%p/Inputs/missing_pdb.exe" 2>%t.err \
|
|
RUN: | FileCheck %s
|
|
RUN: FileCheck -DMSG=%errc_ENOENT --check-prefix=ERROR %s < %t.err
|
|
|
|
llvm-symbolizer should print one error and two unknown line info records.
|
|
|
|
ERROR: LLVMSymbolizer: error reading file: {{.*}}: [[MSG]]
|
|
ERROR-NOT: error reading file
|
|
|
|
CHECK: ??
|
|
CHECK: ??:0:0
|
|
CHECK: ??
|
|
CHECK: ??:0:0
|