rlib/test/test_rstacklet.py::TestStackletShadowStack::()::test_demo1
self = <rpython.rlib.test.test_rstacklet.TestStackletShadowStack object at 0x7fbd02fa1a10>
def test_demo1(self):
> t, cbuilder = self.compile(entry_point)
rlib/test/test_rstacklet.py:325:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
translator/c/test/test_standalone.py:72: in compile
exe_name=exe_name)
translator/c/genc.py:178: in generate_source
db = self.build_database()
translator/c/genc.py:102: in build_database
self.config.translation.reverse_debugger)
translator/c/database.py:64: in __init__
self.gctransformer = self.gcpolicy.gettransformer(translator, gchooks)
translator/c/gc.py:452: in gettransformer
return shadowstack.ShadowStackFrameworkGCTransformer(translator, gchooks)
memory/gctransform/framework.py:132: in __init__
GCClass, GC_PARAMS = choose_gc_from_config(translator.config)
memory/gc/base.py:593: in choose_gc_from_config
globals(), locals(), [classname])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""
# XXX Should find a way to bound the major collection threshold by the
# XXX total addressable size. Maybe by keeping some minimarkpage arenas
# XXX pre-reserved, enough for a few nursery collections? What about
# XXX raw-malloced memory?
import sys
from rpython.rtyper.lltypesystem import lltype, llmemory, llarena, llgroup
from rpython.rtyper.lltypesystem.lloperation import llop
from rpython.rtyper.lltypesystem.llmemory import raw_malloc_usage
from rpython.memory.gc.base import GCBase, MovingGCBase
> from rpython.memory.gc import env
E File "/build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py", line 423
E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-64/build/rpython/memory/gc/env.py on line 423, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
memory/gc/minimark.py:55: SyntaxError
---------- Captured stderr call ----------
[rtyper] specializing: 100 / 521 blocks (19%)
[rtyper] specializing: 200 / 818 blocks (24%)
[rtyper] specializing: 400 / 1155 blocks (34%)
[rtyper] specializing: 500 / 1157 blocks (43%)
[rtyper] specializing: 700 / 1314 blocks (53%)
[rtyper] specializing: 800 / 1314 blocks (60%)
[rtyper] specializing: 900 / 1358 blocks (66%)
[rtyper] specializing: 1000 / 1358 blocks (73%)
[rtyper] specializing: 1100 / 1358 blocks (81%)
[rtyper] specializing: 1200 / 1358 blocks (88%)
[rtyper] specializing: 1300 / 1360 blocks (95%)
[rtyper] -=- specialized 1360 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
[rtyper] -=- specialized 25 more blocks -=-
builder: rpython-linux-x86-64 build #885
test: rlib/test/test_rstacklet/py/TestStackletShadowStack/()/test_demo1