================
@@ -2916,6 +2917,12 @@ instrumentation:
 
      $ LLVM_PROFILE_FILE="code-%m.profraw" ./code
 
+   Although rare, binary signatures used by the ``%m`` specifier can have
+   collisions. In this case, the ``%b`` specifier, which expands to the binary
+   ID (build ID in ELF and COFF), can be added. To use it, the program should 
be
+   compiled with the build ID linker option (``--build-id`` for GNU ld or LLD).
----------------
ZequanWu wrote:

> ``--build-id`` for GNU ld or LLD

Also `/build-id` for lld-link on windows.

https://github.com/llvm/llvm-project/pull/123963
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to