[cfe-dev] Why clang needs to fork into itself?

Yury Gribov y.gribov at samsung.com
Wed Jan 29 04:49:49 PST 2014

> Create process calls (clone or fork) never call realloc,
> they are atomic system calls.

Ah, right, I was talking about glibc internals.

> But, in the suggested way no additional process creation is required.

You still need to call clang one time to get preprocessed code.

Anyway, I don't want to bury too much into implementation details.
I just wanted to point out that generation of bugreports in crash 
handler would be a non-trivial undertaking.


More information about the cfe-dev mailing list