summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-14 19:56:10 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-14 19:56:10 +0000
commit4a4f78583e8a9466fd376db16e1cf95a734d6780 (patch)
treed14b950c1f4bea501c941c1cc4e1533c3949ccbf /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parenta72d6ef891707173b352378ace7b8511b99c86d9 (diff)
downloadbcm5719-llvm-4a4f78583e8a9466fd376db16e1cf95a734d6780.tar.gz
bcm5719-llvm-4a4f78583e8a9466fd376db16e1cf95a734d6780.zip
IR: Fix a use-after-free in RAUW
Happened pretty commonly during `LLVMContext` teardown when `clang -g` hit an error. This fixes the use-after-free. Next I'll clean up teardown so that it's not RAUW'ing when metadata-tracked values are deleted (only really causes a problem if the graph is mid-construction when teardown starts, but it's still unnecessary work). llvm-svn: 226029
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud