[compiler-rt] [Profile] Dump binary id to raw profiles on Windows. (PR #75618)

Zequan Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 19 09:56:53 PST 2023


================
@@ -74,7 +74,14 @@ ValueProfNode *__llvm_profile_end_vnodes(void) { return &VNodesEnd; }
 ValueProfNode *CurrentVNode = &VNodesStart + 1;
 ValueProfNode *EndVNode = &VNodesEnd;
 
+uint64_t BuildIdLen = 16;
+COMPILER_RT_WEAK extern uint8_t __buildid[16];
----------------
ZequanWu wrote:

Yes, it was documented here: https://lld.llvm.org/windows_support.html#lld-flags

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


More information about the llvm-commits mailing list