[cfe-dev] clang-cc -ast-print-xml errors
Mike Stump
mrs at apple.com
Tue Sep 15 17:09:12 PDT 2009
On Sep 15, 2009, at 4:52 PM, Craig Mortensen wrote:
> ./clang-cc -ast-print -triple i386-apple-darwin10 -emit-pch -disable-
> free -main-file-name Foundation.h --relocation-model pic -pic-
> level=1 --disable-fp-elim --unwind-tables=0 --mcpu=yonah --fmath-
> errno=0 -v -mmacosx-version-min=10.6.0 -fdiagnostics-show-option -o /
> tmp/output.xml -x=objective-c /System/Library/Frameworks/
> Foundation.framework/Headers/Foundation.h
Oh, not sure if it makes a difference, but you might want -fsyntax-
only. You may also be interested in not running the semantic checks
(depending upon what exactly you want). It seems like we should have
a way to do a bit less work, but I don't think we yet have a way to
request this.
More information about the cfe-dev
mailing list