[llvm-commits] [PATCH] emit DW_AT_high_pc into CUs

shinichiro hamaji shinichiro.hamaji at gmail.com
Sun Jul 22 06:29:58 PDT 2012


Hi,

I've filed a bug and submitted a patch in bugzilla one week ago but I found
one-off patches are supposed to be submitted in this list. So, let me post
my patch. I confirmed my patch still works against r160611 and all test
passes on linux and mac.

With this patch, LLVM emits DW_ AT_high_pc into a CU if the CU has
functions only in .text. The DW_AT_high_pc helps tools to skip CUs which
don't have an address they are looking for. Actually, this patch
significantly improves the speed of addr2line in GNU binutils. See the bug
for detail.

http://llvm.org/bugs/show_bug.cgi?id=13351

Could someone review my patch?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120722/5b4397c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.dw-high-pc-in-cu.patch
Type: application/octet-stream
Size: 16295 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120722/5b4397c3/attachment.obj>


More information about the llvm-commits mailing list