llvm-project/lldb/source/Expression
Greg Clayton d4a2b37091 Huge memory and performance improvements in the DWARF parser.
Address ranges are now split up into two different tables: 
- one in DWARFDebugInfo that is compile unit specific
- one in each DWARFCompileUnit that has exact function DIE offsets

This helps keep the size of the aranges down since the main table will get
uniqued and sorted and have consecutive ranges merged. We then only parse the
compile unit one on demand once we have determined that a compile unit contains
the address in question. We also now use the .debug_aranges section if there 
is one instead of always indexing the DWARF manually.

NameToDIE now uses a UniqueCStringMap<dw_offset> map instead of a std::map.
std::map is very bulky as each node has 3 pointers and the key and value types.
This gets our NameToDIE entry down to 12 bytes each instead of 48 which saves
us a lot of memory when we have very large DWARF.

DWARFDebugAranges now has a smaller footprint for each range it contains to 
save on memory.

llvm-svn: 139557
2011-09-12 23:21:58 +00:00
..
ASTDumper.cpp This change brings in the latest LLVM/Clang, and 2011-07-30 02:42:06 +00:00
ASTResultSynthesizer.cpp Added support for persistent types to the 2011-08-23 21:20:51 +00:00
ASTStructExtractor.cpp Order of initialization lists. 2011-04-11 19:41:40 +00:00
ClangASTSource.cpp This change brings in the latest LLVM/Clang, and 2011-07-30 02:42:06 +00:00
ClangExpressionDeclMap.cpp Added support for persistent types to the 2011-08-23 21:20:51 +00:00
ClangExpressionParser.cpp Added support for persistent types to the 2011-08-23 21:20:51 +00:00
ClangExpressionVariable.cpp Fix up how the ValueObjects manage their life cycle so that you can hand out a shared 2011-04-22 23:53:53 +00:00
ClangFunction.cpp We were leaking a stack frame in StackFrameList in Thread.cpp which could 2011-08-12 21:40:01 +00:00
ClangPersistentVariables.cpp Added support for persistent types to the 2011-08-23 21:20:51 +00:00
ClangUserExpression.cpp Huge memory and performance improvements in the DWARF parser. 2011-09-12 23:21:58 +00:00
ClangUtilityFunction.cpp Added checking to make sure that the target has a 2011-08-01 18:18:33 +00:00
DWARFExpression.cpp Added the ability for DWARF locations to use the ABI plug-ins to resolve 2011-09-02 01:15:17 +00:00
IRDynamicChecks.cpp This change brings in the latest LLVM/Clang, and 2011-07-30 02:42:06 +00:00
IRForTarget.cpp Fixed a problem that prevented access to members 2011-08-10 21:05:52 +00:00
IRToDWARF.cpp Order of initialization lists. 2011-04-11 19:41:40 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
ProcessDataAllocator.cpp While tracking down memory consumption issue a few things were needed: the 2011-08-10 02:10:13 +00:00
RecordingMemoryManager.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00