aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Writer/Writer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-02-09 22:24:04 +0000
committerChris Lattner <sabre@nondot.org>2007-02-09 22:24:04 +0000
commitd1f711fa6df3903f72ea4db503f576b2dc227faa (patch)
tree411893b34e84a7a7c8ede17075c836957f928a81 /lib/Bytecode/Writer/Writer.cpp
parentc99ef085b90b32952b484e8843fb66ad65215b61 (diff)
Fix clients like this:
delete ParseBytecodeFile(InputFilename, 0, &ErrorMessage); llvm_shutdown(); delete ParseBytecodeFile(InputFilename, 0, &ErrorMessage); The primitive type objects failed to ressurect themselves after shutdown, leading to crashes in clients that used them after llvm_shutdown(). This solution isn't wonderful, because we clearly have static ctors. However, the code it replaces was just as bad, so it's not a regression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/Writer.cpp')
0 files changed, 0 insertions, 0 deletions