Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Zachary Turner via lldb-commits
Candidate fix submitted in r344429. Thanks for reporting. On Fri, Oct 12, 2018 at 3:54 PM Zachary Turner wrote: > Yea that part is clear, I just wonder what it's trying to parse. It > sounds like an actual PDB file, because otherwise it shouldn't have made it > that far in the code. But if

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Zachary Turner via lldb-commits
Yea that part is clear, I just wonder what it's trying to parse. It sounds like an actual PDB file, because otherwise it shouldn't have made it that far in the code. But if it's an actual PDB file, it shouldn't be failing. Anyway, the code definitely has a bug in that it doesn't correctly

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Jason Molenda via lldb-commits
Adrian suggests that parseFileHeaders is returning an error and that needs to be cleared? > On Oct 12, 2018, at 3:27 PM, Jason Molenda wrote: > > Ah, mystery solved. The lit test specifies REQUIRES Darwin. > >> On Oct 12, 2018, at 3:22 PM, Jason Molenda wrote: >> >> >> >>> On Oct 12,

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Zachary Turner via lldb-commits
It's strange though, I wonder how it's even getting to this code path. If it makes it this far we've already confirmed that whatever the input is, it's an actual PDB file. So I don't know why it would fail to parse. On Fri, Oct 12, 2018 at 3:29 PM Zachary Turner wrote: > I think we just need

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Zachary Turner via lldb-commits
I think we just need to add an llvm::consumeError(EC); on both of those lines before they return failure. Sorry for missing this. On Fri, Oct 12, 2018 at 3:27 PM Jason Molenda wrote: > Ah, mystery solved. The lit test specifies REQUIRES Darwin. > > > On Oct 12, 2018, at 3:22 PM, Jason Molenda

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Jason Molenda via lldb-commits
Ah, mystery solved. The lit test specifies REQUIRES Darwin. > On Oct 12, 2018, at 3:22 PM, Jason Molenda wrote: > > > >> On Oct 12, 2018, at 12:47 PM, Zachary Turner via lldb-commits >> wrote: >> >> Resubmit "Add SymbolFileNativePDB plugin." >> >> This was originally reverted due to

Re: [Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Jason Molenda via lldb-commits
> On Oct 12, 2018, at 12:47 PM, Zachary Turner via lldb-commits > wrote: > > Resubmit "Add SymbolFileNativePDB plugin." > > This was originally reverted due to some test failures on > Linux. Those problems turned out to require several additional > patches to lld and clang in order to fix,

[Lldb-commits] [lldb] r344409 - Resubmit "Add SymbolFileNativePDB plugin."

2018-10-12 Thread Zachary Turner via lldb-commits
Author: zturner Date: Fri Oct 12 12:47:13 2018 New Revision: 344409 URL: http://llvm.org/viewvc/llvm-project?rev=344409=rev Log: Resubmit "Add SymbolFileNativePDB plugin." This was originally reverted due to some test failures on Linux. Those problems turned out to require several additional