rlib/test/test_rstacklet.py::TestStackletShadowStack::()::test_demo1
self = <rpython.rlib.test.test_rstacklet.TestStackletShadowStack object at 0xf5ba266c>
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-32/build/rpython/memory/gc/env.py", line 423
E SyntaxError: Non-ASCII character '\xe2' in file /build_dir/rpython-linux-x86-32/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 / 679 blocks (14%)
[rtyper] specializing: 200 / 1009 blocks (19%)
[rtyper] specializing: 300 / 1063 blocks (28%)
[rtyper] specializing: 400 / 1071 blocks (37%)
[rtyper] specializing: 500 / 1155 blocks (43%)
[rtyper] specializing: 600 / 1155 blocks (51%)
[rtyper] specializing: 800 / 1352 blocks (59%)
[rtyper] specializing: 900 / 1352 blocks (66%)
[rtyper] specializing: 1000 / 1352 blocks (73%)
[rtyper] specializing: 1100 / 1356 blocks (81%)
[rtyper] specializing: 1200 / 1358 blocks (88%)
[rtyper] specializing: 1300 / 1358 blocks (95%)
[rtyper] -=- specialized 1358 blocks -=-
[rtyper] -=- specialized 4 more blocks -=-
[rtyper] -=- specialized 25 more blocks -=-
builder: rpython-linux-x86-32 build #832
test: rlib/test/test_rstacklet/py/TestStackletShadowStack/()/test_demo1