diff options
author | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2017-05-17 17:41:55 +0000 |
---|---|---|
committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2017-05-17 17:41:55 +0000 |
commit | be9299371038c881248296a2051b66c977dbd419 (patch) | |
tree | 6d8a35e661c52861652d200596bf0025c30235f3 /llvm/unittests/Support/CrashRecoveryTest.cpp | |
parent | 3f55f7e02d447bdbf6500840e85bb6dd8a72516c (diff) | |
download | bcm5719-llvm-be9299371038c881248296a2051b66c977dbd419.tar.gz bcm5719-llvm-be9299371038c881248296a2051b66c977dbd419.zip |
[GISel]: Fix undefined behavior in IRTranslator
Make sure IRTranslator->MachineIRBuilder->DebugLoc doesn't
outlive the DILocation. Clear it at the end of
IRTranslator::runOnMachineFunction
llvm-svn: 303277
Diffstat (limited to 'llvm/unittests/Support/CrashRecoveryTest.cpp')
0 files changed, 0 insertions, 0 deletions