Skip to content

Commit f793923

Browse files
authored
Strip stack protector function attribute. (#419)
1 parent efa56cb commit f793923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/irgen.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function irgen(@nospecialize(job::CompilerJob); ctx::JuliaContextType)
1111
# clean up incompatibilities
1212
@timeit_debug to "clean-up" begin
1313
for llvmf in functions(mod)
14-
if VERSION < v"1.9.0-DEV.516"
14+
if VERSION < v"1.9" || Base.isdebugbuild()
1515
# only occurs in debug builds
1616
delete!(function_attributes(llvmf),
1717
EnumAttribute("sspstrong", 0; ctx=unwrap_context(ctx)))

0 commit comments

Comments
 (0)