mirror of git://gcc.gnu.org/git/gcc.git
* tsan/tsan_rtl.h: Cherry pick upstream r226829.
From-SVN: r220013
This commit is contained in:
parent
a0d8720ab2
commit
19ac475f49
|
@ -1,3 +1,7 @@
|
||||||
|
2015-01-22 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* tsan/tsan_rtl.h: Cherry pick upstream r226829.
|
||||||
|
|
||||||
2015-01-21 Jakub Jelinek <jakub@redhat.com>
|
2015-01-21 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR sanitizer/64435
|
PR sanitizer/64435
|
||||||
|
|
|
@ -679,7 +679,7 @@ void AcquireReleaseImpl(ThreadState *thr, uptr pc, SyncClock *c);
|
||||||
// The trick is that the call preserves all registers and the compiler
|
// The trick is that the call preserves all registers and the compiler
|
||||||
// does not treat it as a call.
|
// does not treat it as a call.
|
||||||
// If it does not work for you, use normal call.
|
// If it does not work for you, use normal call.
|
||||||
#if TSAN_DEBUG == 0
|
#if TSAN_DEBUG == 0 && defined(__x86_64__)
|
||||||
// The caller may not create the stack frame for itself at all,
|
// The caller may not create the stack frame for itself at all,
|
||||||
// so we create a reserve stack frame for it (1024b must be enough).
|
// so we create a reserve stack frame for it (1024b must be enough).
|
||||||
#define HACKY_CALL(f) \
|
#define HACKY_CALL(f) \
|
||||||
|
|
Loading…
Reference in New Issue