Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DXC linker API doesn't include DXC_OUT_PDB in the result #5721

Open
EricLasotaRSE opened this issue Sep 14, 2023 · 0 comments · May be fixed by #6834
Open

DXC linker API doesn't include DXC_OUT_PDB in the result #5721

EricLasotaRSE opened this issue Sep 14, 2023 · 0 comments · May be fixed by #6834
Labels
bug Bug, regression, crash shader-linking Bugs related to library targets and linking
Milestone

Comments

@EricLasotaRSE
Copy link

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 EricLasotaRSE added bug Bug, regression, crash needs-triage Awaiting triage labels Sep 14, 2023
@pow2clk pow2clk added shader-linking Bugs related to library targets and linking and removed needs-triage Awaiting triage labels Sep 20, 2023
@pow2clk pow2clk moved this to Done in HLSL Triage Sep 20, 2023
@elasota elasota linked a pull request Jul 30, 2024 that will close this issue
@damyanp damyanp added this to the Dormant milestone Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug, regression, crash shader-linking Bugs related to library targets and linking
Projects
Status: Triaged
Development

Successfully merging a pull request may close this issue.

3 participants