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

Alexey Baturo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 3 10:56:30 PDT 2022


smd added inline comments.


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


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