[SR-10671] Windows, linker fails on specific code with CodeView debug info enabled #53070
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
debug info
Area → compiler → IRGen: Debug information emission
Windows
Platform: Windows
Attachment: Download
Additional Detail from JIRA
md5: 799b439c40c0d5a7ef17a3864cefc0a6
relates to:
Issue Description:
Swift version 5.0-dev (LLVM 082dec2e22, Swift c2ecf6d9fb)
I guess it is something wrong with generated debug info. Linker still manages to produce PDB file, but
llvm-pdbutil
crashes trying to process that output.Sample code which reproduces the issue:
main.swift
Output:
Also attaching
all compiler output files, main.zip
llvm-readobj -codeview
dump of obj file (produced with-emit-object
option), main-codeview-dump.txtverbose compiler output, swiftc-verbose.txt
The text was updated successfully, but these errors were encountered: