[6/12] patch series to port HWASAN for riscv64
Depends On D131574
Differential D131343
[RISC-V][HWASAN] Add support for lowering HWASAN intrinsic for RISC-V smd on Aug 6 2022, 2:46 PM. Authored by
Details
Diff Detail
Event Timeline
Comment Actions Please split RISCVAsmParser/Printer and HWAddressSanitizer into separate patches
Comment Actions llvm/test/CodeGen/RISCV/hwasan-check-memaccess.ll ? With moved test LGTM in general.
Comment Actions
I believe the same applies to D131575 and basic.ll, where changes to instrumentMemAccessInline are tested? Comment Actions Sure. The logic is simple:
So D131344 should keep only compiler-rt/test/hwasan/TestCases/ as they look irrelevant to CodeGen and Instrumentation
Comment Actions And if you’re committing a significant chunk of code to a backend I don’t think you should be doing so without getting approval from someone who regularly works on the backend
Comment Actions @jrtc27 sorry for the mess What's the best way to fix it: would you like me to revert the commit or address the issues in next patches? Would you mind me adding you as a reviewer for further patches?
|
If we change RISCVAsmPrinter, I assume we need to update RISCVAsmParser.cpp and add corresponding tests