[cfe-dev] x86_64 with -emit-llvm
Renato Golin
rengolin at systemcall.org
Sun Oct 25 14:18:55 PDT 2009
2009/10/25 Daniel Dunbar <daniel at zuster.org>:
> Use 'clang -c -emit-llvm anyfile.c', this will give you an LLVM
> bitcode file as anyfile.o.
Thanks Daniel, it worked.
$ clang -c foo.c -o - -emit-llvm | llvm-dis -o=- | less
How can I read the AST file generated by the -emit-ast ?
cheers,
--renato
Reclaim your digital rights, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm
More information about the cfe-dev
mailing list