]> granicus.if.org Git - clang/commit
Stop handling interesting deserialized decls after HandleTranslationUnit
authorReid Kleckner <rnk@google.com>
Wed, 30 Nov 2016 00:25:36 +0000 (00:25 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 30 Nov 2016 00:25:36 +0000 (00:25 +0000)
commit1f0b0f907b2c57d277cf722d87c143befd7e6aff
tree70679966f4f0f38fd6e8d57e39bfe68e56d3e19d
parentc689f6622f89dba2c01ea03462318006dac4785b
Stop handling interesting deserialized decls after HandleTranslationUnit

Other AST consumers can deserialize interesting decls that we might
codegen, but they won't make it to the final object file and can trigger
assertions in debug information generation after finalization.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288221 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenAction.cpp
test/Frontend/plugin-vs-debug-info.cpp [new file with mode: 0644]