[all-commits] [llvm/llvm-project] 778002: Reapply "[PDB][llvm-pdbutil] Add DXContainer suppo...

Ilia Kuklin via All-commits all-commits at lists.llvm.org
Fri May 29 09:41:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77800224eba1bd273c50fb1153945c38da507a52
      https://github.com/llvm/llvm-project/commit/77800224eba1bd273c50fb1153945c38da507a52
  Author: Ilia Kuklin <ikuklin at accesssoftek.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h
    M llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
    M llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h
    M llvm/include/llvm/DebugInfo/PDB/Native/RawConstants.h
    M llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp
    M llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
    A llvm/test/tools/llvm-pdbutil/dxcontainer.test
    M llvm/tools/llvm-pdbutil/PdbYaml.cpp
    M llvm/tools/llvm-pdbutil/PdbYaml.h
    M llvm/tools/llvm-pdbutil/YAMLOutputStyle.cpp
    M llvm/tools/llvm-pdbutil/YAMLOutputStyle.h
    M llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp
    M llvm/tools/llvm-pdbutil/llvm-pdbutil.h

  Log Message:
  -----------
  Reapply "[PDB][llvm-pdbutil] Add DXContainer support for `pdb2yaml` and `yaml2pdb`" (#200413)

This reapplies #198351 with a fix for `-Wchanges-meaning` causing an
error in `PdbYaml.h`.
Original description:

This patch enables the following:
1. Attempting to parse a `DXContainer` from stream 5 (generated by
DirectX tools) of a PDB file, to be used later in `llvm-pdbutil`.
2. Outputting a PDB file with a built in DXContainer as YAML. Existing
DirectX tools form a PDB container with empty DBI, TPI and IPI streams,
so this patch also allows them to be empty when dumping a PDB file as
YAML.
3. Creating a PDB file from YAML with an built in DXContainer. When
creating a PDB with a DXContainer, streams DBI, TPI and IPI can be
completely empty, so this patch also includes adjustments to allow
forming such a PDB file. This is done to maintain compatibility with
other DirectX tools.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list