Displaying 1 result from an estimated 1 matches for "llvmremovefunctionattr".
2009 Dec 29
1
[LLVMdev] LLVM{Add,Remove}FunctionAttr totally broken
The LLVMAddFunctionAttr and LLVMRemoveFunctionAttr are busted: they
actually set the return value's attributes, not the function's
attributes. There seems to be no C API for actually setting the
function attributes.
LLVMGetFunctionAttr, however, does correctly return the function
attributes, not the return value's attributes. T...