[cfe-commits] [PATCH] The debugging information of class's static member should have an external attribute
Jaemin Park
jm.j.park at samsung.com
Tue Feb 14 20:21:53 PST 2012
>From the DARF 3 spec.
“If the name of a variable is visible outside of its enclosing compilation
unit, the variable entry has a DW_AT_external attribute, whose value is a
flag.
The definitions of C++ static data members of structures or classes are
represented by variable entries flagged as external. Both file static and
local variables in C and C++ are represented by non-external variable
entries”
But clang does not treat it as an external.
Attachment is for fixing it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120215/c109bf29/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120215/c109bf29/attachment.obj>
More information about the cfe-commits
mailing list