File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1515,7 +1515,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
1515
1515
Value *getInstName (Instruction *Instruction) {
1516
1516
Value *InstName = nullptr ;
1517
1517
if (ClEmbedFaultingInst != MSanEmbedFaultingInstructionMode::None) {
1518
- IRBuilder<> IRB0 (Instruction);
1518
+ IRBuilder<> IRB (Instruction);
1519
1519
StringRef InstNameStrRef;
1520
1520
// Keep str and maybeBuf at this scope level because they may be
1521
1521
// indirectly needed by CreateGlobalString
@@ -1543,7 +1543,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
1543
1543
}
1544
1544
}
1545
1545
1546
- InstName = IRB0 .CreateGlobalString (InstNameStrRef);
1546
+ InstName = IRB .CreateGlobalString (InstNameStrRef);
1547
1547
}
1548
1548
1549
1549
return InstName;
You can’t perform that action at this time.
0 commit comments