Work is in progress to get swiftc generating PDBs on Windows and lldb
debugging it. Thus, there is need for a PDBASTParserSwift. So we need
to abstract away a base class from PDBASTParser and fork the Clang
specific implementation to a seperate class.
Details
Diff Detail
- Build Status
Buildable 29674 Build 29673: arc lint + arc unit
Event Timeline
Is the nature of the PDB different enough that it warrants an entirely new implementation? There's a efw places where we parse decorated / undecorated names, but in general I would imagine most of the stuff is language agnostic no?
Is the nature of the PDB different enough that it warrants an entirely new implementation? There's a few places where we parse decorated / undecorated names, but in general I would imagine most of the stuff is language agnostic no?
PDBASTParser holds a ClangASTContext and does all it's work through it. We need to work through the Swift AST. If either XYZASTContexts were just implemented to the TypeSystem interface this could be doable without subclassing but both rely heavily on pretty specific functionality from their respective {swift,clang}::ASTContexts.