LGTM You've not yet tested inlining across different attributes... So a sanitize memory function into a sanitize address one. Shouldn't be any surprises there but good to cover at least one of those cases. http://llvm-reviews.chandlerc.com/D1035