Skip to content

Commit 71e0dc3

Browse files
authored
Update DebugInfo.cpp
1 parent 9b12e06 commit 71e0dc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/IR/DebugInfo.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,9 @@ class DebugTypeInfoRemoval {
798798

799799
return getReplacementMDNode(N);
800800
};
801+
802+
// Intentionally separate rvalue and lvalue that may access the same memory
803+
// location to guarantee the evaluation order.
801804
auto value = doRemap(N);
802805
Replacements[N] = value;
803806
}

0 commit comments

Comments
 (0)