[clang] [compiler-rt] [profile] Add `%b` `LLVM_PROFILE_FILE` option for binary ID (PR #123963)

Sinkevich Artem via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 04:30:17 PST 2025


================
@@ -855,6 +856,15 @@ static int parseFilenamePattern(const char *FilenamePat,
                     FilenamePat);
           return -1;
         }
+      } else if (FilenamePat[I] == 'b') {
+        if (!NumBinaryIds++) {
+          if (__llvm_write_binary_ids(NULL) <= 0) {
----------------
ArtSin wrote:

Done

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


More information about the cfe-commits mailing list