Add clobber list to arm inline asm.
While enabling "-fstack-protector", compiler generates code in function prologue and epilogue to do stack check. However, without knowing that 'r1', 'r2' and 'r3' is used/destroyed in inline asm, compiler assumes that 'r1', 'r2', or 'r3' can be used exclusively, which leads to a core dump. Fix to this is quite straightforward, just add clobber list to the inlineasm. BUG=None TEST=manually checked the generated asm code,boot up chrome browser successfully with this modification Review URL: https://chromiumcodereview.appspot.com/9618017 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10977 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment