sanitizer_linux.cc (__sanitizer): Grab one change from upstream to fix build.

* sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
        change from upstream to fix build.

From-SVN: r205285
This commit is contained in:
Mike Stump 2013-11-22 20:33:06 +00:00 committed by Mike Stump
parent 31519c3863
commit 486294d4ed
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2013-11-22 Mike Stump <mikestump@comcast.net>
* sanitizer_common/sanitizer_linux.cc (__sanitizer): Grab one
change from upstream to fix build.
2013-11-18 Yury Gribov <y.gribov@samsung.com>
PR sanitizer/59106

View File

@ -785,7 +785,6 @@ uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg,
* %r8 = new_tls,
* %r10 = child_tidptr)
*/
".cfi_endproc\n"
"syscall\n"
/* if (%rax != 0)
@ -795,8 +794,9 @@ uptr internal_clone(int (*fn)(void *), void *child_stack, int flags, void *arg,
"jnz 1f\n"
/* In the child. Terminate unwind chain. */
".cfi_startproc\n"
".cfi_undefined %%rip;\n"
// XXX: We should also terminate the CFI unwind chain
// here. Unfortunately clang 3.2 doesn't support the
// necessary CFI directives, so we skip that part.
"xorq %%rbp,%%rbp\n"
/* Call "fn(arg)". */