[all-commits] [llvm/llvm-project] 1aedf7: [HWASan] Use a single .weak binding in asm.

Matt Morehouse via All-commits all-commits at lists.llvm.org
Wed Sep 22 09:35:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1aedf77ece6bc9a1fc70453d4603280bde6ebf1f
      https://github.com/llvm/llvm-project/commit/1aedf77ece6bc9a1fc70453d4603280bde6ebf1f
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-09-22 (Wed, 22 Sep 2021)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S
    M compiler-rt/lib/hwasan/hwasan_setjmp_x86_64.S

  Log Message:
  -----------
  [HWASan] Use a single .weak binding in asm.

Specifying .global and .weak causes a compiler warning:

  warning: __sigsetjmp changed binding to STB_WEAK

Specifying only .weak should have the same effect without causing a
warning.

Reviewed By: eugenis

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




More information about the All-commits mailing list