diff options
author | Jason Molenda <jmolenda@apple.com> | 2017-06-29 02:57:03 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2017-06-29 02:57:03 +0000 |
commit | 43294c9f48760eae68aa8976bf0ac5e9eaa448d8 (patch) | |
tree | 4585cb01cd88fd39a900aa062686601930eb9e34 /llvm/lib/BinaryFormat/Magic.cpp | |
parent | 8e07cadde0ba53385afd4762af3a12412609483b (diff) | |
download | llvm-43294c9f48760eae68aa8976bf0ac5e9eaa448d8.zip llvm-43294c9f48760eae68aa8976bf0ac5e9eaa448d8.tar.gz llvm-43294c9f48760eae68aa8976bf0ac5e9eaa448d8.tar.bz2 |
Change the ABI class to have a weak pointer to its Process;
some methods in the ABI need a Process to do their work.
Instead of passing it in as a one-off argument to those
methods, this patch puts it in the base class and the methods
can retrieve if it needed.
Note that ABI's are sometimes built without a Process
(e.g. SBTarget::GetStackRedZoneSize) so it's entirely
possible that the process weak pointer will not be
able to reconsistitue into a strong pointer.
<rdar://problem/32526754>
llvm-svn: 306633
Diffstat (limited to 'llvm/lib/BinaryFormat/Magic.cpp')
0 files changed, 0 insertions, 0 deletions