]> granicus.if.org Git - clang/commitdiff
[options] Document -(static|shared)-libsan
authorVedant Kumar <vsk@apple.com>
Thu, 23 Aug 2018 17:54:48 +0000 (17:54 +0000)
committerVedant Kumar <vsk@apple.com>
Thu, 23 Aug 2018 17:54:48 +0000 (17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340558 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Driver/Options.td

index bbdbe7cfbb6a8766aa1c7c5a5332ca92201a3ab9..d4162c0225dfc42ec0adcd5198d3659336734d41 100644 (file)
@@ -639,8 +639,10 @@ def fapple_kext : Flag<["-"], "fapple-kext">, Group<f_Group>, Flags<[CC1Option]>
   HelpText<"Use Apple's kernel extensions ABI">;
 def fapple_pragma_pack : Flag<["-"], "fapple-pragma-pack">, Group<f_Group>, Flags<[CC1Option]>,
   HelpText<"Enable Apple gcc-compatible #pragma pack handling">;
-def shared_libsan : Flag<["-"], "shared-libsan">;
-def static_libsan : Flag<["-"], "static-libsan">;
+def shared_libsan : Flag<["-"], "shared-libsan">,
+  HelpText<"Dynamically link the sanitizer runtime">;
+def static_libsan : Flag<["-"], "static-libsan">,
+  HelpText<"Statically link the sanitizer runtime">;
 def : Flag<["-"], "shared-libasan">, Alias<shared_libsan>;
 def fasm : Flag<["-"], "fasm">, Group<f_Group>;