[LLVMbugs] [Bug 17710] New: Clang emits DWARF4 forms with -gdwarf-2 option
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Oct 28 09:12:34 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17710
Bug ID: 17710
Summary: Clang emits DWARF4 forms with -gdwarf-2 option
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: samsonov at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ >z.c
$ ./bin/clang -gdwarf-2 z.c -c -o z.o
$ ./bin/llvm-dwarfdump --debug-dump=info z.o | grep "DW_AT_stmt_list"
DW_AT_stmt_list [DW_FORM_sec_offset] (0x00000000)
DW_FORM_sec_offset first appeared in DWARF4, while the emitted compile unit is
said to have DWARF-2:
$ ./bin/llvm-dwarfdump --debug-dump=info z.o | grep "version"
0x00000000: Compile Unit: length = 0x00000022 version = 0x0002 abbr_offset =
0x0000 addr_size = 0x08 (next unit at 0x00000026)
--
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/20131028/4c073228/attachment.html>
More information about the llvm-bugs
mailing list