[LLVMdev] variable sized structs in LLVM

Carl Friedrich Bolz cfbolz at gmx.de
Mon Jun 20 15:40:48 PDT 2005


Hi Reid,

Reid Spencer wrote:
> Yes, for that you need TargetData:
> 
> http://illuvium.net/docs/doxygen/classllvm_1_1TargetData.html

I feared that that would be the answer :-). We're not using the LLVM-API 
at the moment. We're just generating a .ll file 'by hand', e.g. via 
simple string operations. I guess we get what we deserve :-).

Thanks for your help,

Carl Friedrich




More information about the llvm-dev mailing list