https://bugs.llvm.org/show_bug.cgi?id=45407
Bug ID: 45407
Summary: DebugInfo: Excess location lifetime over a function
call
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected],
[email protected]
Blocks: 31268
void f2(int);
extern int x;
void f1(int i) {
i = x;
f2(i);
}
Compiled with optimizations enabled, this produces DWARF describing the
location of 'i' in RDI for the full scope of 'f1', including during the
execution of 'f2'. This seems to be incorrect, since it's a caller saved
register - f2 could modify RDI (& would have to if it wanted to call another
function for instance)
Referenced Bugs:
https://bugs.llvm.org/show_bug.cgi?id=31268
[Bug 31268] Umbrella: debug info for optimized code
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs