https://bugs.llvm.org/show_bug.cgi?id=52213
Bug ID: 52213
Summary: Assertion failure if providing invalid --debug-vars or
--dwarf values
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: llvm-objdump
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: llvm-bugs@lists.llvm.org
llvm-objdump asserts if either the --debug-vars or the --dwarf options are
provided with invalid values. This is because the StringSwitch used in both
cases has no default handler, so if no case matches the value, an assertion is
hit (see line 189 in StringSwitch.h).
What should happen is a default value be used and an error reported by
llvm-objdump at command-line parsing time.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs