[llvm] [llvm-pdbutil] Include DBI section contribs in YAML (PR #191624)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 30 15:46:39 PDT 2026


================
@@ -899,6 +903,31 @@ static void yamlToPdb(StringRef Path) {
     }
   }
 
+  if (Dbi.SectionContribs) {
+    if (Dbi.SectionContribs->Version !=
+        PdbRaw_DbiSecContribVer::DbiSecContribVer60) {
+      errs() << "Only DBI section contrib Version Ver60 is supported\n";
----------------
aganea wrote:

`ExitOnErr(createStringError("Only DBI section contrib Version Ver60 is supported"))` perhaps to be more consistent?

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


More information about the llvm-commits mailing list