HomePhabricator

[GISel]: Fix undefined behavior in IRTranslator

Description

[GISel]: Fix undefined behavior in IRTranslator

Make sure IRTranslator->MachineIRBuilder->DebugLoc doesn't
outlive the DILocation. Clear it at the end of
IRTranslator::runOnMachineFunction

Details

Committed
aditya_nandakumarMay 17 2017, 10:41 AM
Parents
rL303276: Generate ubsan shared libraries.
Branches
Unknown
Tags
Unknown