This is an archive of the discontinued LLVM Phabricator instance.

Add Swift enumerator value for CodeView::SourceLanguage
ClosedPublic

Authored by lanza on Mar 11 2019, 2:03 PM.

Details

Reviewers
rnk
compnerd
Summary

Swift now generates PDBs for debugging on Windows. llvm and lldb
need a language enumerator value too properly handle the output
emitted by swiftc.

Diff Detail

Event Timeline

lanza created this revision.Mar 11 2019, 2:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2019, 2:03 PM
compnerd accepted this revision.Mar 11 2019, 2:27 PM

Please add a test case for this (flowing from IR -> Obj -> llvm-pdbutil)

This revision is now accepted and ready to land.Mar 11 2019, 2:27 PM
lanza updated this revision to Diff 190160.Mar 11 2019, 2:46 PM

Rewrite switch case to be more grepable

lanza updated this revision to Diff 190166.Mar 11 2019, 3:17 PM

Add test and fix llvm-readobj printout

rnk accepted this revision.Mar 11 2019, 3:30 PM

Lgtm!

lanza closed this revision.Mar 11 2019, 4:31 PM