1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib/DebugInfo/Symbolize
Alexey Samsonov e2d62e9cd1 [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
..
CMakeLists.txt [LLVMSymbolize] Factor out the logic for printing structs from DIContext. NFC. 2015-11-03 22:20:52 +00:00
DIPrinter.cpp [Symbolizer]: Add -pretty-print option 2015-11-11 20:41:43 +00:00
LLVMBuild.txt
Makefile
SymbolizableObjectFile.cpp [Symbolizer] Don't use PE symbol tables to override PDB symbols 2015-11-13 17:00:36 +00:00
SymbolizableObjectFile.h [Symbolizer] Don't use PE symbol tables to override PDB symbols 2015-11-13 17:00:36 +00:00
Symbolize.cpp [Symbolize] Improve the ownership of parsed objects. 2015-12-18 22:02:14 +00:00