[llvm-bugs] [Bug 34921] New: Missing DW_OP_LLVM_fragment for field of global transformed to bool
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 11 17:20:13 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34921
Bug ID: 34921
Summary: Missing DW_OP_LLVM_fragment for field of global
transformed to bool
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: efriedma at codeaurora.org
CC: aprantl at apple.com, dblaikie at gmail.com,
llvm-bugs at lists.llvm.org
Testcase (compile with clang -O2 -g -S -emit-llvm):
struct X { int a; int b; };
static struct X x;
int f() { return x.a; }
void g() { x.a = 10; }
int h() { return x.b += 1; }
https://reviews.llvm.org/D35994 added debug info for x.a... but it isn't really
complete in this case, because it's missing the offset in the struct.
--
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/20171012/3a16a13b/attachment.html>
More information about the llvm-bugs
mailing list