Displaying 1 result from an estimated 1 matches for "llvmgetretattr".
2009 Dec 29
1
[LLVMdev] LLVM{Add,Remove}FunctionAttr totally broken
...d like to propose that LLVM{Add,Remove}FunctionAttr be fixed to
actually set the function attributes. And that a new API, LLVM
{Add,Remove,Get}RetAttr be added, like:
void LLVMAddRetAttr(LLVMValueRef Fn, LLVMAttribute PA);
void LLVMRemoveRetAttr(LLVMValueRef Fn, LLVMAttribute PA);
LLVMAttribute LLVMGetRetAttr(LLVMValueRef Fn);
which will do the associated actions on the return value.
If this is acceptable, I can submit a trivial patch that implements it.
James
PS: no comments on my last patch, not sure if it was overlooked or
just everyone's busy over the holidays:
http://lists.cs.uiuc.edu/...