[PATCH] D101439: [clang-cl] Add parsing support for a bunch of new flags
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 28 06:26:49 PDT 2021
thakis added inline comments.
================
Comment at: clang/include/clang/Driver/Options.td:6117
def _SLASH_favor : CLJoined<"favor">;
+def _SLASH_fsanitize_address_use_after_return : CLJoined<"fsanitize-address-use-after-return">;
+def _SLASH_fno_sanitize_address_vcasan_lib : CLJoined<"fno-sanitize-address-vcasan-lib">;
----------------
Can we ask (or check) how this one is implemented? Does it inject a custom __asan_default_options that returns `detect_stack_use_after_return=1` or is it more involved?
================
Comment at: clang/include/clang/Driver/Options.td:6118
+def _SLASH_fsanitize_address_use_after_return : CLJoined<"fsanitize-address-use-after-return">;
+def _SLASH_fno_sanitize_address_vcasan_lib : CLJoined<"fno-sanitize-address-vcasan-lib">;
def _SLASH_F : CLJoinedOrSeparate<"F">;
----------------
I guess this one controls library search paths and they have vc libs built with and without asan?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101439/new/
https://reviews.llvm.org/D101439
More information about the cfe-commits
mailing list