hanchenye-llvm-project/llvm/lib/DebugInfo
David Blaikie c3f30a7fc6 Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses)
Originally committed in r349333, reverted in r349353.

GCC emitted these unconditionally on/before 4.4/March 2012
Clang emitted these unconditionally on/before 3.5/March 2014

This improves performance when parsing CUs (especially those using split
DWARF) that contain no code ranges (such as the mini CUs that may be
created by ThinLTO importing - though generally they should be/are
avoided, especially for Split DWARF because it produces a lot of very
small CUs, which don't scale well in a bunch of other ways too
(including size)).

The revert was due to a (Google internal) test that had some checked in old
object files missing DW_AT_ranges. That's since been fixed.

llvm-svn: 349968
2018-12-21 22:25:01 +00:00
..
CodeView [PDB] Add some helper functions for working with scopes. 2018-12-17 16:15:36 +00:00
DWARF Reapply: DebugInfo: Assume an absence of ranges or high_pc on a CU means the CU is empty (devoid of code addresses) 2018-12-21 22:25:01 +00:00
MSF [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
PDB [PDB] Add some helper functions for working with scopes. 2018-12-17 16:15:36 +00:00
Symbolize [DebugInfo] Common behavior for error types 2018-08-31 17:41:58 +00:00
CMakeLists.txt
LLVMBuild.txt