aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-07-01 18:22:13 +0000
committerDouglas Gregor <dgregor@apple.com>2011-07-01 18:22:13 +0000
commit01b6e31a62e2265849f4388b9be6be0a5d13348d (patch)
treebc1307c9f9ee592ee00c07892443177db88a9e52 /lib/CodeGen/CGDecl.cpp
parent0e5abb8479543bf2517bc4a1332017d627fa61bc (diff)
When we create a precompiled preamble, don't copy the
CompilerInvocation on the stack, because other objects (e.g., the CompilerInstance) maintain an intrusive reference-counted pointer to the CompilerInvocation. This doesn't matter in the normal case, because we take back the CompilerInvocation. However, during crash recovery, this leads to us trying to free an object on the stack, and hilarity ensues. Fixes <rdar://problem/9652540>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions