[llvm-bugs] [Bug 35770] New: running clang -g on a text-format LLVM IR input should add debug information
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Dec 28 18:51:48 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35770
Bug ID: 35770
Summary: running clang -g on a text-format LLVM IR input should
add debug information
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: llvm-bugs at lists.llvm.org
$ clang -g foo.ll
... should add debug information, pointing back to the .ll file, in the same
way that
$ clang -g foo.s
... already adds debug information pointing back to the relevant line in the .s
file. This would make it possible to perform "source"-level single-step
debugging through llvm IR in the user's debugger of choice. (And for
optimizations that properly preserve debug information, would allow a limited
amount of mapping from optimized IR back into the original IR.)
--
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/20171229/d8c9ba72/attachment.html>
More information about the llvm-bugs
mailing list