https://bugs.llvm.org/show_bug.cgi?id=41905
Bug ID: 41905
Summary: Add warning messages if disassembly + source for
problematic inputs
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-objdump
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: llvm-bugs@lists.llvm.org
This would be an improvement beyond what GNU objdump does. --disassemble +
--source should result in the source information for a given function to be
printed inpline with the disassembly. However, under some circumstances it is
not possible for the source to be loaded. Three examples I can think of are:
1) The module is missing debug information.
2) The source file could not be found.
3) The debug information points at a line beyond the end of the file,
potentially implying that the wrong file has been found.
It would be nice if we emitted warnings for each of these cases. This would
help users who are confused why the source is not appearing.
--
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