Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit