[LLVMdev] gdb + clang/llvm

Roland Leißa leissa at cs.uni-saarland.de
Fri Apr 20 18:35:51 PDT 2012


ok, I now have a problem in the code generator.
Let's say I want to set a breakpoint somewhere in
clang/lib/CodeGen/CGExprScalar.cpp

What do I have to do in order to trigger breakpoints, see backtraces and so on?

-- 
Roland

----- Original Message -----
> From: "Eric Christopher" <echristo at apple.com>
> To: "Roland Leißa" <leissa at cs.uni-saarland.de>
> Cc: LLVMdev at cs.uiuc.edu
> Sent: Freitag, 13. April 2012 16:43:41
> Subject: Re: [LLVMdev] gdb + clang/llvm
> 
> 
> On Apr 13, 2012, at 3:45 PM, Roland Leißa <leissa at cs.uni-saarland.de>
> wrote:
> 
> > Hi Eric,
> > 
> > I'm using gcc. My make command is
> > make -j9
> > 
> > as mentioned earlier, the -cc1 switch did the trick for me. Thanks
> > for helping out.
> 
> Aha. Yes, that'd do it. Glad you're up and debugging.
> 
> -eric




More information about the llvm-dev mailing list