Re: [lldb-dev] Symtab for PECOFF

2018-08-31 Thread Aleksandr Urakov via lldb-dev
Thanks! I've almost done this, I'll test it more carefully on the next week and will create a review. On Fri, Aug 31, 2018 at 4:54 PM Zachary Turner wrote: > That would be my thought, yea > On Fri, Aug 31, 2018 at 1:21 AM Aleksandr Urakov < > aleksandr.ura...@jetbrains.com> wrote: > >> Thanks f

Re: [lldb-dev] Symtab for PECOFF

2018-08-31 Thread Zachary Turner via lldb-dev
That would be my thought, yea On Fri, Aug 31, 2018 at 1:21 AM Aleksandr Urakov < aleksandr.ura...@jetbrains.com> wrote: > Thanks for the reply! > > Yes, the function search is implemented in the way similar to what you > have described (and even the search in a symbol file is done before the > sea

Re: [lldb-dev] Symtab for PECOFF

2018-08-31 Thread Aleksandr Urakov via lldb-dev
Thanks for the reply! Yes, the function search is implemented in the way similar to what you have described (and even the search in a symbol file is done before the search in a symtab). But for Module::FindSymbolsWithNameAndType function I can't find any relevant function in the SymbolFile. Do you

Re: [lldb-dev] Symtab for PECOFF

2018-08-30 Thread Zachary Turner via lldb-dev
It seems reasonable to me to say that if the symbol is not found in the executables symtab, it will fall back to searching in the symbol file.. this logic doesn’t even need to be specific to PDB On Thu, Aug 30, 2018 at 7:00 AM Aleksandr Urakov via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hello

[lldb-dev] Symtab for PECOFF

2018-08-30 Thread Aleksandr Urakov via lldb-dev
Hello! I'm working on an expressions evaluation on Windows, and currently I'm trying to make a JIT evaluation working. When I'm trying to evaluate the next expression: print S::x on the next code: struct S { static int x; void foo() { } }; int S::x = 5; int main() { S().foo(); // here