Displaying 1 result from an estimated 1 matches for "structty_struct_dsp".
Did you mean:
structty_struct_mydsp
2007 Jun 16
0
[LLVMdev] Strategy to compile for LLVM IR (Chris Lattner)
....
>
> -Chris
>
>
Thanks,
I will need also to compile new fields in the result C++ class, thus
i need a way to get an access on the class struct field part. I see
something like:
std::vector<const Type*>StructTy_struct_mydsp_fields;
StructTy_struct_mydsp_fields.push_back(StructTy_struct_dsp);
StructType* StructTy_struct_mydsp = StructType::get
(StructTy_struct_mydsp_fields, /*isPacked=*/false);
mod->addTypeName("struct.mydsp", StructTy_struct_mydsp);
in the generated llvm2cpp code, i guess it is possible then to
iterate through the cloned code looking for the ob...