diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-10 04:59:18 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-12-10 04:59:18 +0000 |
commit | f3079d276268af8319e2a43b2d59af3763058584 (patch) | |
tree | 20fc8576adbc1b4ce3065432bb66b82c00ebd16e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 89c019ecd22e382f47314ac0f16979ea00459c35 (diff) | |
download | llvm-f3079d276268af8319e2a43b2d59af3763058584.zip llvm-f3079d276268af8319e2a43b2d59af3763058584.tar.gz llvm-f3079d276268af8319e2a43b2d59af3763058584.tar.bz2 |
ClangFunction: Fix destruction order of parser and execution unit
Fix PR21802 by correcting the destruction order of
`ClangExpressionParser` and `IRExecutionUnit` in `ClangFunction`. The
former has hooks into the latter -- i.e., `clang::CGDebugInfo` points at
the `LLVMContext` -- so it needs to be torn down first.
This was exposed by r223802 in LLVM, which started doing work in the
`CGDebugInfo` teardown.
llvm-svn: 223916
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions