[all-commits] [llvm/llvm-project] c7738c: [lldb] Don't search the metadata map three times w...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Wed Dec 11 06:08:56 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c7738cca7efda9d1a78569b69ba4ac735c0f2212
https://github.com/llvm/llvm-project/commit/c7738cca7efda9d1a78569b69ba4ac735c0f2212
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
M lldb/include/lldb/Symbol/ClangExternalASTSourceCommon.h
M lldb/source/Symbol/ClangASTContext.cpp
M lldb/source/Symbol/ClangExternalASTSourceCommon.cpp
Log Message:
-----------
[lldb] Don't search the metadata map three times when retrieving metadata
HasMetadata checks if our metadata map knows the given object. GetMetadata
also does this check and then does another search to actually retrieve
the value. This can all just be one lookup.
More information about the All-commits
mailing list