projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8ccb82
)
[ASTImporter] Set MustBuildLookupTable on PrimaryContext
author
Gabor Marton
<martongabesz@gmail.com>
Mon, 26 Nov 2018 17:09:50 +0000
(17:09 +0000)
committer
Gabor Marton
<martongabesz@gmail.com>
Mon, 26 Nov 2018 17:09:50 +0000
(17:09 +0000)
Summary: SetMustBuildLookupTable() must always be called on a primary context.
Reviewers: labath, shafik, a.sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411
Differential Revision: https://reviews.llvm.org/D54863
llvm-svn: 347575
lldb/source/Symbol/ClangASTImporter.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Symbol/ClangASTImporter.cpp
b/lldb/source/Symbol/ClangASTImporter.cpp
index
ea3b141
..
b685078
100644
(file)
--- a/
lldb/source/Symbol/ClangASTImporter.cpp
+++ b/
lldb/source/Symbol/ClangASTImporter.cpp
@@
-1050,7
+1050,7
@@
clang::Decl *ClangASTImporter::Minion::Imported(clang::Decl *from,
TagDecl *to_tag_decl = dyn_cast<TagDecl>(to);
to_tag_decl->setHasExternalLexicalStorage();
- to_tag_decl->setMustBuildLookupTable();
+ to_tag_decl->
getPrimaryContext()->
setMustBuildLookupTable();
if (log)
log->Printf(