llvm-project/llvm/lib/DebugInfo
Alexey Samsonov 1eaae4c3b1 [Symbolize] Improve the ownership of parsed objects.
This code changes the way Symbolize handles parsed binaries: now
parsed OwningBinary<Binary> is not broken into (binary, memory buffer)
pair, and is just stored as-is in a cache. ObjectFile components
of Mach-O universal binaries are also stored explicitly in a
separate cache.

Additionally, this change:
* simplifies the code that parses/caches binaries: it's now done
  in a single place, not three different functions.
* makes flush() method behave as expected, and actually clear
  the cached parsed binaries and objects.
* fixes a dangling pointer issue described in
  http://reviews.llvm.org/D15638

llvm-svn: 256041
2015-12-18 22:02:14 +00:00
..
DWARF Revert "Improve DWARFDebugFrame::parse to also handle __eh_frame." 2015-12-18 19:45:38 +00:00
PDB Revert "Improve DWARFDebugFrame::parse to also handle __eh_frame." 2015-12-18 19:45:38 +00:00
Symbolize [Symbolize] Improve the ownership of parsed objects. 2015-12-18 22:02:14 +00:00
CMakeLists.txt Move parts of llvm-symbolizer tool into LLVMSymbolize library. 2015-10-26 17:56:12 +00:00
LLVMBuild.txt Move parts of llvm-symbolizer tool into LLVMSymbolize library. 2015-10-26 17:56:12 +00:00
Makefile Move parts of llvm-symbolizer tool into LLVMSymbolize library. 2015-10-26 17:56:12 +00:00