[PATCH] D102288: [HWASan] Add -fsanitize=lam flag and enable HWASan to use it.
Evgenii Stepanov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 13 12:02:16 PDT 2021
eugenis added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:4172
+// on x86_64 and is subject to change in the future. For example, we may want
+// to distinguish between LAM48 and LAM57 at some point.
+def mlam : Flag<["-"], "mlam">, Group<m_x86_Features_Group>;
----------------
Hmm this might be a good argument to go with something else for now.
What would -mlam actually affect, besides hwasan? Significant bits computation?
If we see LAM as future production mode for HWASan, and aliasing - more of a temporary, proof-of-concept thing, then how about -fexperimental-sanitize-hwaddress-aliasing flag?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102288/new/
https://reviews.llvm.org/D102288
More information about the cfe-commits
mailing list