[LLVMdev] the optional function return attribute and the llvm-c bindings

james woodyatt jhw at conjury.org
Mon Dec 20 22:58:33 PST 2010


everyone--

Is it my imagination, or is there no way in LLVM 2.8 (or current trunk) to use the facilities defined in <llvm-c/Core.h> to get or set the optional return parameter attribute on a function value?

All the functions in the "Operations on parameters" parameters section actually seem to work only on the function arguments and not the return parameter.  Is this intentional?  What should I do if I need to get or set the return parameter attributes of a function from OCaml?


—
j h woodyatt <jhw at conjury.org>
http://jhw.dreamwidth.org/





More information about the llvm-dev mailing list