Skip to content

py: Prevent crash with LTO.#396

Merged
dhalbert merged 1 commit into
adafruit:masterfrom
tannewt:gc_crash
Nov 1, 2017
Merged

py: Prevent crash with LTO.#396
dhalbert merged 1 commit into
adafruit:masterfrom
tannewt:gc_crash

Conversation

@tannewt
Copy link
Copy Markdown
Member

@tannewt tannewt commented Nov 1, 2017

The protected single function call saves stack values and LTO
breaks the expectations of nlr_push and pop.

@tannewt tannewt requested a review from dhalbert November 1, 2017 20:28
Comment thread py/runtime_utils.c Outdated
The protected single function call saves stack values and LTO
breaks the expectations of nlr_push and pop.
@dhalbert dhalbert merged commit b6587b3 into adafruit:master Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants