[all-commits] [llvm/llvm-project] 75a08b: tsan: don't use symbol binding 10

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Mon Oct 25 05:06:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75a08b1ba4c105d7a63fac93ea70f5546a2dd2d7
      https://github.com/llvm/llvm-project/commit/75a08b1ba4c105d7a63fac93ea70f5546a2dd2d7
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform.h

  Log Message:
  -----------
  tsan: don't use symbol binding 10

Building Go programs with the current runtime fails with:

loadelf: race_linux_amd64: malformed elf file:
_ZZN6__tsan15RestoreAddrImpl5ApplyINS_11MappingGo48EEEmmE6ranges: invalid symbol binding 10

Go linker does not understand ELF in all its generality.
Don't use static const data in inline methods.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D112434




More information about the All-commits mailing list