================
@@ -333,6 +333,21 @@ static void addCoveragePrefixMapArg(const Driver &D, const 
ArgList &Args,
   }
 }
 
+/// Add a CC1 option to specify the sanitizer file path prefix map.
+static void addSanitizePrefixMapArg(const Driver &D, const ArgList &Args,
----------------
vitalybuka wrote:

This loop is identical to addMacroPrefixMapArg and addCoveragePrefixMapArg 
above; consider factoring the common logic into a small helper parameterized by 
option ID and flag prefix.

https://github.com/llvm/llvm-project/pull/186908
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to