@@ -54,10 +54,12 @@ static inline auto libcalls() {
5454
5555// / A simple container for information about the supported runtime calls.
5656struct RuntimeLibcallsInfo {
57- explicit RuntimeLibcallsInfo (const Triple &TT,
58- FloatABI::ABIType FloatABI = FloatABI::Default,
59- EABI EABIVersion = EABI::Default) {
60- initLibcalls (TT, FloatABI, EABIVersion);
57+ explicit RuntimeLibcallsInfo (
58+ const Triple &TT,
59+ ExceptionHandling ExceptionModel = ExceptionHandling::None,
60+ FloatABI::ABIType FloatABI = FloatABI::Default,
61+ EABI EABIVersion = EABI::Default) {
62+ initLibcalls (TT, ExceptionModel, FloatABI, EABIVersion);
6163 }
6264
6365 // / Rename the default libcall routine name for the specified libcall.
@@ -147,8 +149,8 @@ struct RuntimeLibcallsInfo {
147149
148150 // / Set default libcall names. If a target wants to opt-out of a libcall it
149151 // / should be placed here.
150- LLVM_ABI void initLibcalls (const Triple &TT, FloatABI::ABIType FloatABI ,
151- EABI ABIType);
152+ LLVM_ABI void initLibcalls (const Triple &TT, ExceptionHandling ExceptionModel ,
153+ FloatABI::ABIType FloatABI, EABI ABIType);
152154};
153155
154156} // namespace RTLIB
0 commit comments