[LLVMbugs] [Bug 16214] New: Clang does not emit debug info (definition) for structures
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 3 14:33:06 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16214
Bug ID: 16214
Summary: Clang does not emit debug info (definition) for
structures
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: daniel.malea at intel.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 10623
--> http://llvm.org/bugs/attachment.cgi?id=10623&action=edit
c++ code to reproduce the missing DWARF structure definition
Ran across this bug in an LLDB test case
(lldb/test/functionalities/data-formatter/rdar-9973865/main.cpp, attached) that
contains a simple structure definition.
To reproduce:
$ clang -g main.cpp && dwarfdump a.out
Expected result:
Dump contains a definition of the structure "Summarize". See attached
dwarf.good.txt file. This was the behaviour in clang in svn r180916.
Actual result:
Dump contains a declaration of "Summarize" but no definition. This prevents
debuggers from examining the members of the structure. See attached
dwarf.bad.txt file. This is the behaviour in clang rTODO, but was present
earlier...
Workaround: adding -fno-limit-debug-info fixes the problem.
--
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/20130603/b38623cd/attachment.html>
More information about the llvm-bugs
mailing list