diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-10-03 08:54:43 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-10-03 08:54:43 +0000 |
commit | 4436bf03e9220d490caf17f1c34e8c6e4bdbbf11 (patch) | |
tree | 4e54bd0d3bd4cf494037a76c34dbba5e2230a591 /llvm/lib/Target/ARM/ARMFeatures.h | |
parent | 364f70c7286ef11106e12bf38af89686502b0872 (diff) | |
download | bcm5719-llvm-4436bf03e9220d490caf17f1c34e8c6e4bdbbf11.tar.gz bcm5719-llvm-4436bf03e9220d490caf17f1c34e8c6e4bdbbf11.zip |
Remove wild .debug_aranges entries generated from unimportant labels
r191052 added emitting .debug_aranges to Clang, but this
functionality is broken: it uses all MC labels added in DWARF Asm
printer, including the labels for build relocations between
different DWARF sections, like .Lsection_line or .Ldebug_loc0.
As a result, if any DIE .debug_info would contain "DW_AT_location=0x123"
attribute, .debug_aranges would also contain a range starting from 0x123,
breaking tools that rely on this section.
This patch fixes this by using only MC labels that corresponds to the
addresses in the user program.
llvm-svn: 191884
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFeatures.h')
0 files changed, 0 insertions, 0 deletions