disable frame pointer omission optimization (#2189)

* disable frame pointer omission optimization

it breaks the GC

* oops
This commit is contained in:
Jacek Sieka 2020-12-16 14:07:48 +01:00 committed by GitHub
parent 7d5edb4353
commit b367db1a2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -52,6 +52,11 @@ else:
switch("passC", "-mno-avx512f")
switch("passL", "-mno-avx512f")
# omitting frame pointers in nim breaks the GC
# https://github.com/nim-lang/Nim/issues/10625
switch("passC", "-fno-omit-frame-pointer")
switch("passL", "-fno-omit-frame-pointer")
--threads:on
--opt:speed
--excessiveStackTrace:on