diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-14 19:56:10 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-01-14 19:56:10 +0000 |
commit | 4a4f78583e8a9466fd376db16e1cf95a734d6780 (patch) | |
tree | d14b950c1f4bea501c941c1cc4e1533c3949ccbf /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | a72d6ef891707173b352378ace7b8511b99c86d9 (diff) | |
download | bcm5719-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