Overriding libcall symbol


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.