[PATCH] D32886: [asan] A clang flag to enable ELF globals-gc

Evgenii Stepanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 4 17:41:33 PDT 2017


eugenis added inline comments.


================
Comment at: include/clang/Driver/Options.td:830
                                            HelpText<"Disable use-after-scope detection in AddressSanitizer">;
+def fsanitize_address_globals_live_support : Flag<["-"], "fsanitize-address-globals-live-support">,
+                                        Group<f_clang_Group>,
----------------
chandlerc wrote:
> Would the name "-fsanitize-address-globals-dead-stripping" be a bit easier to understand? not sure.
It does sound a little bit better.
The current name is copied from the -mllvm flag, which was initially OSX-specific, where "live_support" is part of the section name.


Repository:
  rL LLVM

https://reviews.llvm.org/D32886





More information about the cfe-commits mailing list