From 1862e3c56ce1eb3762b4ccd6e9e222f3022c9c7c Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 4 Aug 2025 17:27:44 +0900 Subject: RuntimeLibcalls: Move __stack_smash_handler config to tablegen (#150870) --- llvm/lib/IR/RuntimeLibcalls.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'llvm/lib') diff --git a/llvm/lib/IR/RuntimeLibcalls.cpp b/llvm/lib/IR/RuntimeLibcalls.cpp index 1ba2fa7..b6e2cac 100644 --- a/llvm/lib/IR/RuntimeLibcalls.cpp +++ b/llvm/lib/IR/RuntimeLibcalls.cpp @@ -76,9 +76,6 @@ void RuntimeLibcallsInfo::initLibcalls(const Triple &TT, if (ExceptionModel == ExceptionHandling::SjLj) setLibcallImpl(RTLIB::UNWIND_RESUME, RTLIB::_Unwind_SjLj_Resume); - if (TT.isOSOpenBSD()) - setLibcallImpl(RTLIB::STACK_SMASH_HANDLER, RTLIB::__stack_smash_handler); - if (TT.isARM() || TT.isThumb()) { setARMLibcallNames(*this, TT, FloatABI, EABIVersion); return; -- cgit v1.1