diff options
author | Pavel Labath <labath@google.com> | 2017-11-10 11:05:49 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-11-10 11:05:49 +0000 |
commit | d37349f380a405fc7224c79ca41b28a69672500f (patch) | |
tree | c140b002a6c7ce05d38101d462bf9fdb00ea192d /clang/lib/ARCMigrate/TransProtectedScope.cpp | |
parent | bd5c522e4db8a9783eb9150e62bc8329d2a1d7c6 (diff) | |
download | bcm5719-llvm-d37349f380a405fc7224c79ca41b28a69672500f.tar.gz bcm5719-llvm-d37349f380a405fc7224c79ca41b28a69672500f.zip |
Clean up NativeRegisterContext
Summary:
This commit removes the concrete_frame_idx member from
NativeRegisterContext and related functions, which was always set to
zero and never used.
I also change the native thread class to store a NativeRegisterContext
as a unique_ptr (documenting the ownership) and make sure it is always
initialized (most of the code was already blindly dereferencing the
register context pointer, assuming it would always be present -- this
makes its treatment consistent).
Reviewers: eugene, clayborg, krytarowski
Subscribers: aemerson, sdardis, nemanjai, javed.absar, arichardson, kristof.beyls, kbarton, uweigand, alexandreyy, lldb-commits
Differential Revision: https://reviews.llvm.org/D39837
llvm-svn: 317881
Diffstat (limited to 'clang/lib/ARCMigrate/TransProtectedScope.cpp')
0 files changed, 0 insertions, 0 deletions