Skip to content

Commit de25cce

Browse files
committed
Update description to "Annotate sanitizer instrumentation with extra
debug info for the specified sanitizers ..." per delcypher's feedback
1 parent 74cd26a commit de25cce

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

clang/include/clang/Basic/CodeGenOptions.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ class CodeGenOptions : public CodeGenOptionsBase {
399399
/// (0.0 [default] to skip none, 1.0 to skip all).
400400
SanitizerMaskCutoffs SanitizeSkipHotCutoffs;
401401

402-
/// Set of sanitizer checks that will be annotated with debug info.
402+
/// Set of sanitizer checks, for which the instrumentation will be annotated
403+
/// with extra debug info.
403404
SanitizerSet SanitizeAnnotateDebugInfo;
404405

405406
/// List of backend command-line options for -fembed-bitcode.

clang/include/clang/Driver/Options.td

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2536,28 +2536,28 @@ def fno_sanitize_merge_handlers : Flag<["-"], "fno-sanitize-merge">, Group<f_cla
25362536
def fsanitize_annotate_debug_info_EQ
25372537
: CommaJoined<["-"], "fsanitize-annotate-debug-info=">,
25382538
Group<f_clang_Group>,
2539-
HelpText<"Annotate checks with debug info for specified sanitizers, if "
2540-
"supported">;
2539+
HelpText<"Annotate sanitizer instrumentation with extra debug info for "
2540+
the specified sanitizers, if supported">;
25412541
def fno_sanitize_annotate_debug_info_EQ
25422542
: CommaJoined<["-"], "fno-sanitize-annotate-debug-info=">,
25432543
Group<f_clang_Group>,
2544-
HelpText<"Do not allow compiler to annotate checks with debug info for "
2545-
"specified sanitizers">;
2544+
HelpText<"Do not allow compiler to annotate sanitizer instrumentation "
2545+
"with extra debug info for the specified sanitizers">;
25462546
def fsanitize_annotate_debug_info
25472547
: Flag<["-"], "fsanitize-annotate_debug_info">,
25482548
Group<f_clang_Group>,
25492549
Alias<fsanitize_annotate_debug_info_EQ>,
25502550
AliasArgs<["all"]>,
2551-
HelpText<"Allow compiler to annotate checks with debug info for all "
2552-
"sanitizers, where supported">;
2551+
HelpText<"Allow compiler to annotate sanitizer instrumentation with "
2552+
"extra debug info for all sanitizers, where supported">;
25532553
def fno_sanitize_annotate_debug_info
25542554
: Flag<["-"], "fno-sanitize-annotate_debug_info">,
25552555
Group<f_clang_Group>,
25562556
Alias<fno_sanitize_annotate_debug_info_EQ>,
25572557
AliasArgs<["all"]>,
25582558
Visibility<[ClangOption, CLOption]>,
2559-
HelpText<"Do not allow compiler to annotate checks with debug info for "
2560-
"any sanitizers">;
2559+
HelpText<"Do not allow compiler to annotate sanitizer instrumentation "
2560+
"with extra debug info for any sanitizers">;
25612561
def fsanitize_undefined_trap_on_error
25622562
: Flag<["-"], "fsanitize-undefined-trap-on-error">, Group<f_clang_Group>,
25632563
Alias<fsanitize_trap_EQ>, AliasArgs<["undefined"]>;

0 commit comments

Comments
 (0)