mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix stripDebugInfo: was modifying "DebugLoc" attached to the intrinsic after deleting it.
Fix MSAN build. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268849
This commit is contained in:
parent
46124f6758
commit
24eaf9319e
@ -261,6 +261,7 @@ bool llvm::stripDebugInfo(Function &F) {
|
||||
CI->getCalledFunction() == DbgVal)) {
|
||||
CI->eraseFromParent();
|
||||
Changed = true;
|
||||
continue;
|
||||
}
|
||||
if (I.getDebugLoc()) {
|
||||
Changed = true;
|
||||
|
Loading…
Reference in New Issue
Block a user