Finally implement rewriting global initializers which use external functions
by creating an internal wrapper function with same signature as the external function, and use it instead of the "real" function. The wrapper then calls the external function using the same JIT function resolution API that has been used before for rewriting instructions, since the wrapper has an explicit call instruction which we can rewrite. llvm-svn: 13054
Loading
Please register or sign in to comment