diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2015-12-18 22:02:14 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-12-18 22:02:14 +0000 |
commit | 1eaae4c3b1c2aa921b087eba07c2754ab84ae202 (patch) | |
tree | f2e1081e2e5753bce0600923a378edb84f1c4dfb /lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp | |
parent | 718a9b2844b9cfe1232d1c7d880c8203d45c8353 (diff) | |
download | bcm5719-llvm-1eaae4c3b1c2aa921b087eba07c2754ab84ae202.tar.gz bcm5719-llvm-1eaae4c3b1c2aa921b087eba07c2754ab84ae202.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/scope/main.cpp')
0 files changed, 0 insertions, 0 deletions