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: unassignedb...@nondot.org
Reporter: efrie...@codeaurora.org
CC: apra...@apple.com, dblai...@gmail.com,
llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs