File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -679,12 +679,12 @@ void RISCVAsmPrinter::EmitHwasanMemaccessSymbols(Module &M) {
679
679
OutStreamer->emitInstruction (
680
680
MCInstBuilder (RISCV::LBU).addReg (RISCV::X6).addReg (RISCV::X6).addImm (0 ),
681
681
MCSTI);
682
- // Extract tag from X5 and compare it with loaded tag from shadow
682
+ // Extract tag from pointer and compare it with loaded tag from shadow
683
683
OutStreamer->emitInstruction (
684
684
MCInstBuilder (RISCV::SRLI).addReg (RISCV::X7).addReg (Reg).addImm (56 ),
685
685
MCSTI);
686
686
MCSymbol *HandleMismatchOrPartialSym = OutContext.createTempSymbol ();
687
- // X7 contains tag from memory , while X6 contains tag from the pointer
687
+ // X7 contains tag from the pointer , while X6 contains tag from memory
688
688
OutStreamer->emitInstruction (
689
689
MCInstBuilder (RISCV::BNE)
690
690
.addReg (RISCV::X7)
You can’t perform that action at this time.
0 commit comments