[pypy-commit] pypy ppc-jit-backend: use shadowstack and comment out compiler flags

hager noreply at buildbot.pypy.org
Wed Feb 15 16:46:49 CET 2012


Author: hager <sven.hager at uni-duesseldorf.de>
Branch: ppc-jit-backend
Changeset: r52509:c5a74a6eb1ba
Date: 2012-02-15 07:45 -0800
http://bitbucket.org/pypy/pypy/changeset/c5a74a6eb1ba/

Log:	use shadowstack and comment out compiler flags

diff --git a/pypy/jit/backend/ppc/test/test_ztranslation.py b/pypy/jit/backend/ppc/test/test_ztranslation.py
--- a/pypy/jit/backend/ppc/test/test_ztranslation.py
+++ b/pypy/jit/backend/ppc/test/test_ztranslation.py
@@ -18,8 +18,9 @@
     def _check_cbuilder(self, cbuilder):
         # We assume here that we have sse2.  If not, the CPUClass
         # needs to be changed to CPU386_NO_SSE2, but well.
-        assert '-msse2' in cbuilder.eci.compile_extra
-        assert '-mfpmath=sse' in cbuilder.eci.compile_extra
+        #assert '-msse2' in cbuilder.eci.compile_extra
+        #assert '-mfpmath=sse' in cbuilder.eci.compile_extra
+        pass
 
     def test_stuff_translates(self):
         # this is a basic test that tries to hit a number of features and their
@@ -176,7 +177,7 @@
     def _get_TranslationContext(self):
         t = TranslationContext()
         t.config.translation.gc = DEFL_GC   # 'hybrid' or 'minimark'
-        t.config.translation.gcrootfinder = 'asmgcc'
+        t.config.translation.gcrootfinder = 'shadowstack'
         t.config.translation.list_comprehension_operations = True
         t.config.translation.gcremovetypeptr = True
         return t


More information about the pypy-commit mailing list