Re: [lldb-dev] LLDB not loading any debug information on windows

2019-03-14 Thread Zachary Turner via lldb-dev
> *Zachary > Turner via lldb-dev > *Sent:* Wednesday, March 13, 2019 8:07 PM > *To:* Adrian McCarthy > *Cc:* LLDB > *Subject:* Re: [lldb-dev] LLDB not loading any debug information on > windows > > > > Two things stand out to me as odd here. > > > > 1) -gll

Re: [lldb-dev] LLDB not loading any debug information on windows

2019-03-14 Thread via lldb-dev
istinctions are minor and not relevant here. --paulr From: lldb-dev [mailto:lldb-dev-boun...@lists.llvm.org] On Behalf Of Zachary Turner via lldb-dev Sent: Wednesday, March 13, 2019 8:07 PM To: Adrian McCarthy Cc: LLDB Subject: Re: [lldb-dev] LLDB not loading any debug information on windows Two

Re: [lldb-dev] LLDB not loading any debug information on windows

2019-03-13 Thread Zachary Turner via lldb-dev
Two things stand out to me as odd here. 1) -glldb. -g is supposed to specify the debug information format, either dwarf, codeview, or whichever is the default. I've never heard of anyone using -glldb (or for that matter -ggdb). Just -g, -gcodeview, or -gdwarf. 2) You're using clang instead of

Re: [lldb-dev] LLDB not loading any debug information on windows

2019-03-13 Thread Adrian McCarthy via lldb-dev
Sorry for the delay. There's definitely something going wrong here. If you specify the .pdb file (target symbols add a.pdb), it iterates through the objfile plugins to see if any match, and none of them do (because a PDB file is not a "module"). If you specify the .exe file (target symbols add a

[lldb-dev] LLDB not loading any debug information on windows

2019-03-04 Thread Christoph Baumann via lldb-dev
Hey, in order to try lldb on windows, i built (with clang compiler and lld linker (v7.0.1)) llvm, clang, lld and of course lldb from latest source with the following command line: > cmake -G Ninja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_LINKER=lld-link -DLLDB_RELOCATA

Re: [lldb-dev] LLDB not loading any debug information on windows

2019-01-16 Thread Zachary Turner via lldb-dev
Can you try clang-cl.exe /Z7 main.cpp instead of a clang.exe command line? On Wed, Jan 16, 2019 at 10:56 PM Christoph Baumann via lldb-dev < lldb-dev@lists.llvm.org> wrote: > Hey, > > I wrote a simple hello-world program to test lldb on windows: > > > > #include > > in

[lldb-dev] LLDB not loading any debug information on windows

2019-01-16 Thread Christoph Baumann via lldb-dev
Hey, I wrote a simple hello-world program to test lldb on windows: #include int main(int argc, char* argv[]){ printf("hello world"); return(0); } Im compiling with ,clang -g main.c -o mai