Re: [lldb-dev] RFC: Replacing all PDB code with non-Windows specific implementation

2018-10-02 Thread Zachary Turner via lldb-dev
To clarify, #1 is saying to re-implement the API **in LLVM** so that LLDB transparently just works with no code changes. While #2 is saying to re-implement the plugin **in LLDB** to not use that API at all, and instead use the low-level API that parses records directly from the file. On Tue, Oct

[lldb-dev] RFC: Replacing all PDB code with non-Windows specific implementation

2018-10-02 Thread Zachary Turner via lldb-dev
Currently our PDBASTParser and SymbolFilePDB can only work on Windows because it relies on a builtin Windows library. In LLVM now we have full ability to read, parse, and interpret the contents of PDB files at the byte level. There are two approaches to getting this working in LLDB. 1) Re-implem