[PATCH] D128958: Add assembler plumbing for sanitize_memtag
Florian Mayer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 28 10:01:14 PST 2022
fmayer accepted this revision.
fmayer added inline comments.
================
Comment at: llvm/lib/MC/ELFObjectWriter.cpp:622
+ assert(MemtagRelocs != nullptr &&
+ "Tagged globals are only supported on AArch64");
+ Asm.registerSection(*MemtagRelocs);
----------------
fmayer wrote:
> Is the story here that on non-AArch64, this function gets run, but there will be no SymE.isMemtag()?
optional: the assert message does not really convey that. Maybe something like "Unexpectedly found tagged global"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128958/new/
https://reviews.llvm.org/D128958
More information about the cfe-commits
mailing list