[PATCH] D98069: [HWASan] Disable stack, globals and force callbacks for x86_64.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 12:59:52 PST 2021


vitalybuka added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp:487
+    UsePageAliases = true;
+    ClInstrumentWithCalls = true;
+    ClInstrumentStack = false;
----------------
ClInstrumentWithCalls is per process global, 
TargetTriple is per module

Usually we add member like HWAddressSanitizer::InstrumentWithCalls and initialize it according to Cl flags and other parameters.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98069/new/

https://reviews.llvm.org/D98069



More information about the llvm-commits mailing list