[llvm-bugs] [Bug 43622] New: clang creates debug_loc.dwo section even in split mode.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 9 09:02:10 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43622
Bug ID: 43622
Summary: clang creates debug_loc.dwo section even in split
mode.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: DebugInfo
Assignee: unassignedbugs at nondot.org
Reporter: sourav0311 at gmail.com
CC: jdevlieghere at apple.com, jini.susan.george at gmail.com,
keith.walker at arm.com, llvm-bugs at lists.llvm.org,
paul_robinson at playstation.sony.com
For a typical test case, following behavior is observed -- debug_loc.dwo
section creation instead of debug_loclists.dwo.
clang -ggdb -O2 -gdwarf-5 -gsplit-dwarf test.c
llvm-readelf -S test.dwo
...
.strtab
.debug_loc.dwo
.debug_str_offsets.dwo
.debug_str.dwo
.debug_info.dwo
.debug_abbrev.dwo
llvm-dwarfdump -debug-loc test1.dwo
..
test1.dwo: file format ELF64-x86-64
.debug_loc.dwo contents:
llvm-readelf -x.debug_loc.dwo test1.dwo
Hex dump of section '.debug_loc.dwo':
0x00000000 03000400 00000155 03031400 00000153 .......U.......S
0x00000010 00030106 00000001 55000301 0b000000 ........U.......
0x00000020 015400 .T.
--
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/20191009/c299a545/attachment-0001.html>
More information about the llvm-bugs
mailing list