Alexey Samsonov
9d08d69fd4
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191884 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-03 08:54:43 +00:00
..
2013-08-30 00:40:17 +00:00
2013-08-26 22:39:55 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-08-27 23:48:57 +00:00
2013-09-06 21:03:58 +00:00
2013-08-27 23:48:57 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-08-27 23:48:57 +00:00
2013-08-27 23:48:57 +00:00
2013-09-08 03:11:54 +00:00
2013-08-27 23:48:57 +00:00
2013-09-06 21:03:58 +00:00
2013-09-21 02:34:45 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-10-03 08:54:43 +00:00
2013-09-23 17:56:20 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-08-26 22:39:55 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-08-26 22:39:55 +00:00
2013-08-12 20:27:48 +00:00
2013-09-03 20:00:20 +00:00
2013-10-01 00:43:36 +00:00
2013-09-06 21:03:58 +00:00
2013-09-30 23:14:16 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-08-16 00:37:11 +00:00
2013-09-08 03:11:54 +00:00
2013-01-25 21:44:53 +00:00
2013-09-08 03:11:54 +00:00
2013-09-20 10:56:40 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-08-26 22:39:55 +00:00
2013-09-18 22:08:59 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 18:13:59 +00:00
2013-09-06 21:03:58 +00:00
2013-09-08 03:11:54 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-21 02:34:45 +00:00
2013-09-06 18:13:59 +00:00
2013-09-08 03:11:54 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-07-01 23:55:52 +00:00
2013-07-01 21:45:25 +00:00
2013-09-06 21:03:58 +00:00
2013-09-06 21:03:58 +00:00
2013-09-18 22:08:59 +00:00