> *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
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
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
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
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
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
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