Skip to content

Commit

Permalink
-yk-dont-opt-func-abi needs to be applied to the pre-opt pipeline too.
Browse files Browse the repository at this point in the history
This isn't required by the yk test suite, but it is for the yklua
test suite.
  • Loading branch information
vext01 committed Oct 3, 2024
1 parent d874f9c commit 3eda80d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/yk-config
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ handle_arg() {
# Outline functions containing loops during AOT compilation. Needed
# for `yk_unroll_safe`.
OUTPUT="${OUTPUT} -fyk-noinline-funcs-with-loops"
# Don't optimise functions by changing their calling convention.
OUTPUT="${OUTPUT} -mllvm -yk-dont-opt-func-abi"
;;
--cppflags)
# Path to yk.h
Expand Down

0 comments on commit 3eda80d

Please sign in to comment.