Most modern tools only accept two-dash long options. Remove one-dash
long options which are not recognized by GNU style `getopt_long`.
This ensures long options cannot collide with grouped short options.
Note: llvm-symbolizer has `-demangle={true,false}` for pprof compatibility
(for a while). They are kept.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D106377
14 lines
388 B
Plaintext
14 lines
388 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
|