[compiler-rt] [Sanitizer] Use % patterns in report paths (PR #141820)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 08:54:26 PDT 2025


================
@@ -96,12 +96,75 @@ static void RecursiveCreateParentDirs(char *path) {
   }
 }
 
+/// Parse the report path \p pattern and copy the parsed path to \p dest.
+///
+/// * `%%` becomes `%`
+/// * `%H` expands to the environment variable `HOME`
----------------
teresajohnson wrote:

This one doesn't seem to be supported on the PGO side, why is it more useful here?

https://github.com/llvm/llvm-project/pull/141820


More information about the llvm-commits mailing list