[llvm-bugs] [Bug 41905] New: Add warning messages if disassembly + source for problematic inputs
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu May 16 06:35:37 PDT 2019
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: unassignedbugs at nondot.org
Reporter: jh7370.2008 at my.bristol.ac.uk
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190516/7b235664/attachment.html>
More information about the llvm-bugs
mailing list