[LLVMdev] How To Pass An Command Line Option To The Pass

Tom Honermann thonermann at coverity.com
Wed Feb 22 07:18:50 PST 2012

On 2/22/2012 7:29 AM, Sevak Sargsyan wrote:
> Hi all,
> I have problem with debugging clang, gdb does not stop in function
> ParseFrontendArgs, the function works because I wrote errs() and I saw
> it in command line,
> I also wrote __asm__("int $3") in  ParseFrontendArgs but it does not help.

Are you debugging the correct process?  Note that invocations of 'clang' 
without '-cc1' fork/exec 'clang -cc1' to handle front end options.


More information about the llvm-dev mailing list