Displaying 1 result from an estimated 1 matches for "make_struct".
2012 Nov 07
0
[LLVMdev] How to get a custom type from ExecutionEngine::runFunction
...work with custom types and wondering how I can
pass/return them via the ExecutionEngine? runFunction returns only a
GenericValue, so it appears somehow I must make use of its pointer member.
For example, how do call this function/type:
%struct.mine = type { i32, i8, float, double }
define void @make_struct(%struct.mine* noalias sret %agg.result, i32 %a,
i8 signext %b)
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A n...