diff options
Diffstat (limited to 'testing/ocaml-lwt/result_lseek_noinline.patch')
-rw-r--r-- | testing/ocaml-lwt/result_lseek_noinline.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/ocaml-lwt/result_lseek_noinline.patch b/testing/ocaml-lwt/result_lseek_noinline.patch new file mode 100644 index 00000000000..2e2fd1552de --- /dev/null +++ b/testing/ocaml-lwt/result_lseek_noinline.patch @@ -0,0 +1,20 @@ +--- a/src/unix/unix_c/unix_lseek_job.c ++++ b/src/unix/unix_c/unix_lseek_job.c +@@ -92,7 +92,7 @@ + } + + /* The function building the caml result. */ +-static value result_lseek(struct job_lseek* job) ++__attribute__((noinline)) static value result_lseek(struct job_lseek* job) + { + value result; + /* Check for errors. */ +@@ -113,7 +113,7 @@ + } + + /* The function building the caml result. */ +-static value result_lseek_64(struct job_lseek* job) ++__attribute__((noinline)) static value result_lseek_64(struct job_lseek* job) + { + value result; + /* Check for errors. */ |