It depends on what sort of attribute it is. If it is something specific to a particular function, adding it to the Function object makes sense (e.g. see alignment and section info). If it affects the calling convention, adding it to FunctionType makes sense.
-Chris