[ORC] Add an ExecutorAddr::toPtr overload for function types.
In the common case of converting an ExecutorAddr to a function pointer type, this eliminates the need for the '(*)' boilerplate to explicitly specify a function pointer. E.g.: auto *F = A.toPtr<int(*)()>(); can now be written as auto *F = A.toPtr<int()>();
parent
c2a5a875
Please register or sign in to comment