Skip to content

Commit 19fd6df

Browse files
committed
Rename IRB0 -> IRB since there is no longer name collision
1 parent f41479c commit 19fd6df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
15151515
Value *getInstName(Instruction *Instruction) {
15161516
Value *InstName = nullptr;
15171517
if (ClEmbedFaultingInst != MSanEmbedFaultingInstructionMode::None) {
1518-
IRBuilder<> IRB0(Instruction);
1518+
IRBuilder<> IRB(Instruction);
15191519
StringRef InstNameStrRef;
15201520
// Keep str and maybeBuf at this scope level because they may be
15211521
// indirectly needed by CreateGlobalString
@@ -1543,7 +1543,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
15431543
}
15441544
}
15451545

1546-
InstName = IRB0.CreateGlobalString(InstNameStrRef);
1546+
InstName = IRB.CreateGlobalString(InstNameStrRef);
15471547
}
15481548

15491549
return InstName;

0 commit comments

Comments
 (0)