https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(gdb) up
#2  0x00007ffff6f8b00a in
__tsan::ScopedIgnoreInterceptors::ScopedIgnoreInterceptors (this=<synthetic
pointer>) at ../../../../gcc/libsanitizer/tsan/tsan_rtl.h:549
549         cur_thread()->ignore_interceptors++;
(gdb) disass
Dump of assembler code for function __tsan::Initialize(__tsan::ThreadState*):
   0x00007ffff6f8afd0 <+0>:     cmpb   $0x0,0x278ff5(%rip)        #
0x7ffff7203fcc <_ZZN6__tsan10InitializeEPNS_11ThreadStateEE14is_initialized>
   0x00007ffff6f8afd7 <+7>:     je     0x7ffff6f8afe0
<__tsan::Initialize(__tsan::ThreadState*)+16>
   0x00007ffff6f8afd9 <+9>:     repz retq
   0x00007ffff6f8afdb <+11>:    nopl   0x0(%rax,%rax,1)
   0x00007ffff6f8afe0 <+16>:    push   %r15
   0x00007ffff6f8afe2 <+18>:    push   %r14
   0x00007ffff6f8afe4 <+20>:    push   %r13
   0x00007ffff6f8afe6 <+22>:    push   %r12
   0x00007ffff6f8afe8 <+24>:    push   %rbp
   0x00007ffff6f8afe9 <+25>:    push   %rbx
   0x00007ffff6f8afea <+26>:    sub    $0x48,%rsp
   0x00007ffff6f8afee <+30>:    movb   $0x1,0x278fd7(%rip)        #
0x7ffff7203fcc <_ZZN6__tsan10InitializeEPNS_11ThreadStateEE14is_initialized>
   0x00007ffff6f8aff5 <+37>:    mov    %rdi,0x18(%rsp)
   0x00007ffff6f8affa <+42>:    data16 lea 0x6cf66(%rip),%rdi        #
0x7ffff6ff7f68
   0x00007ffff6f8b002 <+50>:    data16 data16 callq 0x7ffff6f3ed20
<__tls_get_addr@plt>
=> 0x00007ffff6f8b00a <+58>:    lea    0xce6f(%rip),%rdi        #
0x7ffff6f97e80 <__tsan::TsanCheckFailed(char const*, int, char const*, unsigned
long long, unsigned long long)>
   0x00007ffff6f8b011 <+65>:    lea    0x3df3b(%rip),%rcx        #
0x7ffff6fc8f53
   0x00007ffff6f8b018 <+72>:    addl   $0x1,0x20298(%rax)
   0x00007ffff6f8b01f <+79>:    lea    0x6f4b2(%rip),%rax        #
0x7ffff6ffa4d8 <_ZN11__sanitizer17SanitizerToolNameE>
   0x00007ffff6f8b026 <+86>:    mov    %rcx,(%rax)
   0x00007ffff6f8b029 <+89>:    callq  0x7ffff6fb4760
<__sanitizer::SetCheckFailedCallback(void (*)(char const*, int, char const*,
unsigned long long, unsigned long long))>
   0x00007ffff6f8b02e <+94>:    lea    0x27908b(%rip),%rdi        #
0x7ffff72040c0 <_ZN6__tsanL15ctx_placeholderE>
   0x00007ffff6f8b035 <+101>:   callq  0x7ffff6f8a960
<__tsan::Context::Context()>

Reply via email to