@@ -1122,10 +1122,12 @@ def fdebug_compilation_dir_EQ : Joined<["-"], "fdebug-compilation-dir=">,
1122
1122
def fdebug_compilation_dir : Separate<["-"], "fdebug-compilation-dir">,
1123
1123
Group<f_Group>, Flags<[CC1Option, CC1AsOption, CoreOption]>,
1124
1124
Alias<fdebug_compilation_dir_EQ>;
1125
- def fprofile_compilation_dir_EQ : Joined<["-"], "fprofile -compilation-dir=">,
1125
+ def fcoverage_compilation_dir_EQ : Joined<["-"], "fcoverage -compilation-dir=">,
1126
1126
Group<f_Group>, Flags<[CC1Option, CC1AsOption, CoreOption]>,
1127
1127
HelpText<"The compilation directory to embed in the coverage mapping.">,
1128
- MarshallingInfoString<CodeGenOpts<"ProfileCompilationDir">>;
1128
+ MarshallingInfoString<CodeGenOpts<"CoverageCompilationDir">>;
1129
+ def ffile_compilation_dir_EQ : Joined<["-"], "ffile-compilation-dir=">, Group<f_Group>,
1130
+ HelpText<"The compilation directory to embed in the debug info and coverage mapping.">;
1129
1131
defm debug_info_for_profiling : BoolFOption<"debug-info-for-profiling",
1130
1132
CodeGenOpts<"DebugInfoForProfiling">, DefaultFalse,
1131
1133
PosFlag<SetTrue, [CC1Option], "Emit extra debug info to make sample profile more accurate">,
@@ -1520,6 +1522,16 @@ defm sanitize_address_use_odr_indicator : BoolOption<"f", "sanitize-address-use-
1520
1522
" reports in partially sanitized programs at the cost of an increase in binary size">,
1521
1523
NegFlag<SetFalse, [], "Disable ODR indicator globals">>,
1522
1524
Group<f_clang_Group>;
1525
+ def sanitize_address_destructor_kind_EQ
1526
+ : Joined<["-"], "fsanitize-address-destructor-kind=">,
1527
+ MetaVarName<"<kind>">,
1528
+ Flags<[CC1Option]>,
1529
+ HelpText<"Set destructor type used in ASan instrumentation">,
1530
+ Group<f_clang_Group>,
1531
+ Values<"none,global">,
1532
+ NormalizedValuesScope<"llvm::AsanDtorKind">,
1533
+ NormalizedValues<["None", "Global"]>,
1534
+ MarshallingInfoEnum<CodeGenOpts<"SanitizeAddressDtorKind">, "Global">;
1523
1535
// Note: This flag was introduced when it was necessary to distinguish between
1524
1536
// ABI for correct codegen. This is no longer needed, but the flag is
1525
1537
// not removed since targeting either ABI will behave the same.
@@ -2724,10 +2736,10 @@ def fdebug_prefix_map_EQ
2724
2736
: Joined<["-"], "fdebug-prefix-map=">, Group<f_Group>,
2725
2737
Flags<[CC1Option,CC1AsOption]>,
2726
2738
HelpText<"remap file source paths in debug info">;
2727
- def fprofile_prefix_map_EQ
2728
- : Joined<["-"], "fprofile -prefix-map=">, Group<f_Group>,
2739
+ def fcoverage_prefix_map_EQ
2740
+ : Joined<["-"], "fcoverage -prefix-map=">, Group<f_Group>,
2729
2741
Flags<[CC1Option]>,
2730
- HelpText<"remap file source paths in coverage info ">;
2742
+ HelpText<"remap file source paths in coverage mapping ">;
2731
2743
def ffile_prefix_map_EQ
2732
2744
: Joined<["-"], "ffile-prefix-map=">, Group<f_Group>,
2733
2745
HelpText<"remap file source paths in debug info and predefined preprocessor macros">;
0 commit comments