[llvm] [hwasan] Add intrinsics for fixed shadow on Aarch64 (PR #89319)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 22 14:08:12 PDT 2024


================
@@ -573,7 +573,7 @@ void AArch64AsmPrinter::LowerHWASAN_CHECK_MEMACCESS(const MachineInstr &MI) {
     std::string SymName = "__hwasan_check_x" + utostr(Reg - AArch64::X0) + "_" +
                           utostr(AccessInfo);
     if (IsFixedShadow) {
-      SymName += "_" + utostr (FixedShadowOffset);
+      SymName += "_" + utostr(FixedShadowOffset);
----------------
fmayer wrote:

nit: i would make this `"_fixed_ + ...`

https://github.com/llvm/llvm-project/pull/89319


More information about the llvm-commits mailing list