[llvm-bugs] [Bug 25482] New: Debug info not maintained in AutoFDO
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Nov 10 14:54:56 PST 2015
https://llvm.org/bugs/show_bug.cgi?id=25482
Bug ID: 25482
Summary: Debug info not maintained in AutoFDO
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: DebugInfo
Assignee: unassignedbugs at nondot.org
Reporter: danielcdh at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
If -fprofile-sample-use is specified, clang will set
CodeGenOptions::LocTrackingOnly and make the FE emit debug info. However, as
the debug info is not emitted in the final binary, there are several issues
that prevents the debug info from being updated correctly:
* The discriminator will not be applied due to !hasDebugInfo(F) check
* Inline stack is not maintained during function inlining
In general, we need frontend to pass down a parameter to let backend
optimization know that debug info still needs to be maintained.
--
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/20151110/a3059a6d/attachment.html>
More information about the llvm-bugs
mailing list