================
@@ -1206,6 +1245,19 @@ void Writer::createMiscChunks() {
                                   IMAGE_DLL_CHARACTERISTICS_EX_CET_COMPAT));
   }
 
+  if (writeLTO) {
+    debugRecords.emplace_back(COFF::IMAGE_DEBUG_TYPE_POGO,
+                              make<DebugDirStringChunk>(ltcg));
----------------
aganea wrote:

I didn’t mean to discourage you @mikolaj-pirog. But if you could come up with a 
proper structure here for IMAGE_DEBUG_TYPE_POGO, I think the PR would be 
acceptable.

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

Reply via email to