how to dump data stuctures of llvm in llvm-gcc

Hi All,
Can any one please tell me the option in llvm-gcc to dump data
structures of llvm and llvm IR.
Thanks and regards,
Manish

Hi Manish,

Can any one please tell me the option in llvm-gcc to dump data
structures of llvm and llvm IR.

if you compile with -emit-llvm then the compiler outputs llvm IR
if you compile with -c, and llvm assembler (bytecode in human
readable form) if you compile with -S.

I hope this helps,

Duncan.