Remove -fno-schedule-insns2

This was originally added when we were using the mcount hooking
technique, to prevent the nop from floating above the frame pointer
creation. Now we use a better codegen technique for hooking so it's no
longer needed to sacrifice performance by using this flag.
This commit is contained in:
Justine Tunney 2024-05-23 05:49:02 -07:00
parent f029375d39
commit 3b0ea2db4d
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -63,10 +63,6 @@ BACKTRACES = \
-fno-optimize-sibling-calls \
-mno-omit-leaf-frame-pointer
ifneq ($(ARCH), aarch64)
BACKTRACES += -fno-schedule-insns2
endif
SANITIZER = \
-fsanitize=address