[LLVMdev] gdb + clang/llvm

Roland Leißa leissa at cs.uni-saarland.de
Mon Apr 23 14:43:51 PDT 2012


Ah, OK, I do now understand.
Invoking with -v shows that -emit-obj is also passed as implicit argument. Providing this arg along with -cc1 does the trick. Thanks for the hint with -v.

-- 
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: Montag, 23. April 2012 14:34:15
> Subject: Re: [LLVMdev] gdb + clang/llvm
> 
> 
> On Apr 23, 2012, at 2:14 PM, Roland Leißa <leissa at cs.uni-saarland.de>
> wrote:
> 
> > As you can see the line is question is executed but the breakpoint
> > is not triggered. Apparently, clang executes the code generation
> > in a different process. What do I have to do in order to debug
> > this process?
> 
> What you did before, run it under -cc1. The best way is to use -v to
> get the full -cc1 line and use that.
> 
> -eric




More information about the llvm-dev mailing list