[PATCH] D148596: [KMSAN] Enable on SystemZ
Alexander Potapenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 20 02:19:09 PDT 2023
glider added a comment.
LGTM with a nit.
================
Comment at: llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp:750
+ ArgsTy... Args) {
+ if (TargetTriple.getArch() == Triple::systemz) {
+ return M.getOrInsertFunction(Name, Type::getVoidTy(*C),
----------------
I think people unfamiliar with the s390 ABI will still stumble upon this code.
Can you please add some comment along the lines of "On SystemZ, metadata hooks return the shadow/origin pair via an extra *MsanMetadata parameter"?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148596/new/
https://reviews.llvm.org/D148596
More information about the llvm-commits
mailing list