https://github.com/bcardosolopes approved this pull request. LGTM, and thanks for doing the getRawFunctionPointer/getFunctionPointer split while you were here. One corner case inline. https://github.com/llvm/llvm-project/pull/238538