• Fangming.Fang's avatar
    cmd,runtime: enable race detector on arm64 · 978cfa8e
    Fangming.Fang authored
    Changes include:
    1. enable compiler option -race for arm64
    2. add runtime/race_arm64.s to manage the calls from Go to the compiler-rt runtime
    3. change racewalk.go to call racefuncenterfp instead of racefuncenter on arm64 to
       allow the caller pc to be obtained in the asm code before calling the tsan version
    4. race_linux_arm64.syso comes from compiler-rt which just supports 48bit VA, compiler-rt
       is fetched from master branch which latest commit is 3aa2b775d08f903f804246af10b
    
    Fixes #25682
    
    Change-Id: I04364c580b8157fd117deecae74a4656ba16e005
    Reviewed-on: https://go-review.googlesource.com/c/138675
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    978cfa8e
Name
Last commit
Last update
..
arch.go Loading commit data...
supported.go Loading commit data...