https://bugs.llvm.org/show_bug.cgi?id=45416
Bug ID: 45416
Summary: Emit a more useful error for invalid --dump-section
syntax
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-objcopy/strip
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected],
[email protected],
[email protected],
[email protected], [email protected]
If a user uses the --dump-section option, but it specifies it incorrectly, as
in the example below, without a '=' sign, a rather useless error message is
produced (at least on Windows):
C:\Work> llvm-objcopy t.elf t.out --dump-section .text
llvm-objcopy.exe: error: 't.elf': The program issued a command but the command
length is incorrect.
We should add some error checking to this option to ensure the format is
correct, i.e. that the file name is not empty, and that there's an equals sign
splitting it from the section name.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs