DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

DXC linker API doesn't include DXC_OUT_PDB in the result

Open EricLasotaRSE opened this issue 2 years ago • 0 comments

Description When using the DXC linker, the result doesn't emit anything for DXC_OUT_PDB.

It looks like some additional outputs were added with PR #5678, however DXC_OUT_PDB was not one of them.

Steps to Reproduce Pass -Zi and -Qstrip_debug in the arguments to IDxcLinker::Link, use QueryInterface to retrieve the IDxcResult from the linker, and call GetOutput(DXC_OUT_PDB, ...) on the linker result.

Actual Behavior GetResult returns E_INVALIDARG

Environment

  • DXC version dxcompiler.dll: 1.7 - 1.7.2308.7 (69e54e2); dxil.dll: 1.7(101.7.2308.12)
  • Host Operating System Windows 10

EricLasotaRSE avatar Sep 14 '23 22:09 EricLasotaRSE