[cfe-dev] source file location in crash reports?

Zhanyong Wan (λx.x x) wan at google.com
Tue Dec 15 19:55:18 PST 2009


Hi,

After we switched from clang-cc to 'clang -cc1', I noticed that the
crash message (when clang hits an assertion) no longer includes the
source file location of the symbol clang is parsing at the time of the
crash.  This makes it hard to find out which code snippet is choking
clang.

http://llvm.org/PR5793 has an example.

I wonder if this is related to the 'clang -cc1' switch and if it's
intended.  Can we get the old behavior back?  Thanks,

-- 
Zhanyong



More information about the cfe-dev mailing list