[PATCH] D132995: [RISC-V][HWASAN] Support tagging global variables for RISC-V HWASAN

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 02:38:37 PDT 2022


kito-cheng added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/tagged-globals.ll:8
+
+ at global = external global i32
+declare void @func()
----------------
Maybe add one more testcase to show `@global = internal global i32 0` will always access via GOT with `+tagged-globals` even `--relocation-model=pic`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132995/new/

https://reviews.llvm.org/D132995



More information about the llvm-commits mailing list