Skip to content

Commit e99ccaa

Browse files
committed
Formatting
1 parent 1bd6045 commit e99ccaa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,11 +1327,11 @@ void AddressSanitizer::instrumentMemIntrinsic(MemIntrinsic *MI,
13271327
RuntimeCallInserter &RTCI) {
13281328
InstrumentationIRBuilder IRB(MI);
13291329
if (isa<MemTransferInst>(MI)) {
1330-
RTCI.createRuntimeCall(
1331-
IRB, isa<MemMoveInst>(MI) ? AsanMemmove : AsanMemcpy,
1332-
{IRB.CreateAddrSpaceCast(MI->getOperand(0), PtrTy),
1333-
IRB.CreateAddrSpaceCast(MI->getOperand(1), PtrTy),
1334-
IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)});
1330+
RTCI.createRuntimeCall(
1331+
IRB, isa<MemMoveInst>(MI) ? AsanMemmove : AsanMemcpy,
1332+
{IRB.CreateAddrSpaceCast(MI->getOperand(0), PtrTy),
1333+
IRB.CreateAddrSpaceCast(MI->getOperand(1), PtrTy),
1334+
IRB.CreateIntCast(MI->getOperand(2), IntptrTy, false)});
13351335
} else if (isa<MemSetInst>(MI)) {
13361336
RTCI.createRuntimeCall(
13371337
IRB, AsanMemset,

0 commit comments

Comments
 (0)