[PATCH] D102288: [HWASan] Add -fsanitize=lam flag and enable HWASan to use it.

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 11 19:13:40 PDT 2021


vitalybuka added inline comments.


================
Comment at: clang/include/clang/Basic/Sanitizers.def:55-59
+// Utilize Intel LAM in sanitizers.  Currently only used in combination with
+// -fsanitize=hwaddress.  This is an experimental flag which may be removed in
+// the future.
+// TODO: Use -mlam instead, if/when it is supported by clang.
+SANITIZER("lam", LAM)
----------------
if it's experimental, why not just "-fsanitize=hwaddress -mllvm -havasan-lam=1" ?


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