[LLVMdev] Overriding libcall symbol
Joerg Sonnenberger
joerg at britannica.bec.de
Sat Jul 18 09:28:14 PDT 2015
On Fri, Jul 17, 2015 at 11:15:27AM -0700, Vadim Chugunov wrote:
> I need to override the default libcall symbol name chosen by LLVM for the
> platform. (for example, I'd like the 'resume' instruction to expand into a
> call to '_MyUnwindResume' instead of '_Unwind_Resume').
> Is this possible through some combination of LLVM parameters/public API
> calls?
I don't think there is a public API per se for it, but the starting
point you want to look for is Target/TargetLowering.h and the derived
target classes.
Joerg
More information about the llvm-dev
mailing list