[llvm] [hwasan] Add hwasan-all-globals option (PR #149621)
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 18 22:23:23 PDT 2025
================
@@ -160,6 +160,11 @@ static cl::opt<bool> ClGenerateTagsWithCalls(
static cl::opt<bool> ClGlobals("hwasan-globals", cl::desc("Instrument globals"),
cl::Hidden, cl::init(false));
+static cl::opt<bool> ClAllGlobals(
+ "hwasan-all-globals",
+ cl::desc("Instrument globals, even those within user-defined sections"),
----------------
fmayer wrote:
Better, thanks.
https://github.com/llvm/llvm-project/pull/149621
More information about the llvm-commits
mailing list