Skip to content

Commit

Permalink
Strip stack protector function attribute. (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Mar 31, 2023
1 parent efa56cb commit f793923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/irgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function irgen(@nospecialize(job::CompilerJob); ctx::JuliaContextType)
# clean up incompatibilities
@timeit_debug to "clean-up" begin
for llvmf in functions(mod)
if VERSION < v"1.9.0-DEV.516"
if VERSION < v"1.9" || Base.isdebugbuild()
# only occurs in debug builds
delete!(function_attributes(llvmf),
EnumAttribute("sspstrong", 0; ctx=unwrap_context(ctx)))
Expand Down

2 comments on commit f793923

@maleadt
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/80706

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.19.0 -m "<description of version>" f79392327d86bb64583a6078dca83ae9adb8669f
git push origin v0.19.0

Please sign in to comment.