File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 8383
8484using namespace llvm ;
8585
86- static bool jl_fpo_disabled (const Triple &TT) {
87- #ifdef JL_DISABLE_FPO
88- return true ;
89- #endif
90- #ifdef _COMPILER_MSAN_ENABLED_
91- // MSAN doesn't support FPO
92- return true ;
93- #endif
94- if (TT.isOSLinux () || TT.isOSWindows () || TT.isOSFreeBSD () || TT.isOSOpenBSD ()) {
95- return true ;
96- }
97- return false ;
98- }
99-
10086static bool jl_floattemp_var_needed (const Triple &TT) {
10187#ifdef JL_NEED_FLOATTEMP_VAR
10288 return true ;
@@ -2970,8 +2956,7 @@ void jl_init_function(Function *F, const Triple &TT) JL_NOTSAFEPOINT
29702956 if (TT.isOSWindows () && TT.getArch () == Triple::x86_64) {
29712957 attr.addUWTableAttr (llvm::UWTableKind::Default); // force NeedsWinEH
29722958 }
2973- if (jl_fpo_disabled (TT))
2974- attr.addAttribute (" frame-pointer" , " all" );
2959+ attr.addAttribute (" frame-pointer" , " all" );
29752960 if (!TT.isOSWindows ()) {
29762961#if !defined(_COMPILER_ASAN_ENABLED_)
29772962 // ASAN won't like us accessing undefined memory causing spurious issues,
You can’t perform that action at this time.
0 commit comments