diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-09 06:02:44 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-09 06:02:44 +0000 |
commit | 53a8b9789c8e87b67aa802e2df205db702c5ef27 (patch) | |
tree | 5851642af04776aa198ec82f5c8813f6ff72c4ca /lib/CodeGen/CGDebugInfo.cpp | |
parent | b9da55780eb66fb09e771dbc5ff01eec5c4d957b (diff) |
[PCH] Set the DeclContext before doing any deserialization, to make sure internal
calls to Decl::getASTContext() by Decl's methods will find the TranslationUnitDecl
without crashing due to a parent declaration context still deserializing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions