stage1: upgrade to new LLVM sret attribute requirement

LLVM 12 requires sret attributes to have the struct type as a parameter,
and provides no C function for supplying it. Therefore, we must add
another C++ wrapper API for adding the sret attribute.

Fixes ability to build from source in the llvm12 branch.
685b5c26b7Andrew Kelley committed on 2/26/2021, 8:32:04 PMparent70e935d
3 files changedLine totals unavailable