diff options
author | Pavel Labath <labath@google.com> | 2015-10-22 09:34:40 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2015-10-22 09:34:40 +0000 |
commit | 31bcd2bddde3b39105da5e658d98cdb4b8c4ce16 (patch) | |
tree | ba6e73636c61d94ec56abd9a0f7d7f8e8f6ca431 /lldb/source/Core/ConstString.cpp | |
parent | 02f1c5d132c6a169dffe2a2b8cd8f937838e0b7a (diff) | |
download | bcm5719-llvm-31bcd2bddde3b39105da5e658d98cdb4b8c4ce16.tar.gz bcm5719-llvm-31bcd2bddde3b39105da5e658d98cdb4b8c4ce16.zip |
[AppleObjCRuntime] Don't bother looking for the runtime on non-apple targets
Summary:
This short-circuits the GetObjCVersion function to avoid iterating through target modules on
non-apple targets. This function is called on every Process::IsDynamicValue call, so this
overhead is not negligible.
Reviewers: clayborg, jingham
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D13948
llvm-svn: 251004
Diffstat (limited to 'lldb/source/Core/ConstString.cpp')
0 files changed, 0 insertions, 0 deletions