[pypy-commit] pypy default: gcc 4.4 on Linux 32 in debug mode seems to produce some sort of thunk

arigo noreply at buildbot.pypy.org
Sat Jan 10 12:11:02 CET 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r75274:f91163d135d7
Date: 2015-01-10 11:11 +0000
http://bitbucket.org/pypy/pypy/changeset/f91163d135d7/

Log:	gcc 4.4 on Linux 32 in debug mode seems to produce some sort of
	thunk function with just one instruction, which is never officially
	ended.

diff --git a/rpython/translator/c/gcc/trackgcroot.py b/rpython/translator/c/gcc/trackgcroot.py
--- a/rpython/translator/c/gcc/trackgcroot.py
+++ b/rpython/translator/c/gcc/trackgcroot.py
@@ -1526,6 +1526,9 @@
                 yield True, functionlines
                 in_function = False
                 functionlines = []
+        if in_function and ".get_pc_thunk.bx" in functionlines[0]:
+            in_function = False     # xxx? ignore this rare unclosed stub at
+                                    # the end of the file
         assert not in_function, (
             "missed the end of the previous function")
         yield False, functionlines


More information about the pypy-commit mailing list