[clang] doc: Clarify that ffile-prefix-map applies to fcoverage-prefix-map, too [NFC] (PR #117135)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 01:33:32 PST 2024


https://github.com/maflcko created https://github.com/llvm/llvm-project/pull/117135

None

>From 7ebb194996a402edfb181d13ebf7ec0cedd638e3 Mon Sep 17 00:00:00 2001
From: MarcoFalke <*~=`'#}+{/-|&$^_ at 721217.xyz>
Date: Thu, 21 Nov 2024 10:28:02 +0100
Subject: [PATCH] doc: Clarify that ffile-prefix-map applies to
 fcoverage-prefix-map, too

---
 clang/include/clang/Driver/Options.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td
index 5167c3c39e315a..01a3ad0943b4cc 100644
--- a/clang/include/clang/Driver/Options.td
+++ b/clang/include/clang/Driver/Options.td
@@ -4405,7 +4405,7 @@ def fcoverage_prefix_map_EQ
     HelpText<"remap file source paths <old> to <new> in coverage mapping. If there are multiple options, prefix replacement is applied in reverse order starting from the last one">;
 def ffile_prefix_map_EQ
   : Joined<["-"], "ffile-prefix-map=">, Group<f_Group>,
-    HelpText<"remap file source paths in debug info, predefined preprocessor "
+    HelpText<"remap file source paths in debug info, coverage mapping, predefined preprocessor "
              "macros and __builtin_FILE(). Implies -ffile-reproducible.">;
 def fmacro_prefix_map_EQ
   : Joined<["-"], "fmacro-prefix-map=">, Group<f_Group>,



More information about the cfe-commits mailing list