mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
setjmp is not guaranteed to collect all registers without modification on all platforms. This fixes the following bug: when the pointer of a newly allocated object on the Python heap is stored in rpb registers on x86_64 arch, it was not collected by the garbarge collector.
20 lines
685 B
Makefile
20 lines
685 B
Makefile
# Makefile belows should augment $(ion_device_src)
|
|
include ion/src/device/shared/Makefile
|
|
include ion/src/device/bench/Makefile
|
|
include ion/src/device/flasher/Makefile
|
|
include ion/src/device/$(MODEL)/Makefile
|
|
|
|
$(call object_for,ion/src/shared/platform_info.cpp): SFLAGS += -DHEADER_SECTION="__attribute__((section(\".header\")))"
|
|
|
|
ifeq ($(EPSILON_TELEMETRY),1)
|
|
ion_src += ion/src/shared/telemetry_console.cpp
|
|
endif
|
|
|
|
ion_src += ion/src/shared/collect_registers.cpp
|
|
|
|
ION_DEVICE_SFLAGS = -Iion/src/device/$(MODEL) -Iion/src/device/shared
|
|
|
|
$(call object_for,$(ion_device_src) $(ion_device_flasher_src) $(ion_device_bench_src)): SFLAGS += $(ION_DEVICE_SFLAGS)
|
|
|
|
ion_src += $(ion_device_src)
|