[all-commits] [llvm/llvm-project] 9496e3: [compiler-rt] Add the common FreeBSD AArch64 support

Andrew Turner via All-commits all-commits at lists.llvm.org
Wed Jun 8 14:23:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9496e39b4a832cbb5562745fb4b00a64e354afe8
      https://github.com/llvm/llvm-project/commit/9496e39b4a832cbb5562745fb4b00a64e354afe8
  Author: Andrew Turner <andrew at fubar.geek.nz>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_syscall_generic.inc

  Log Message:
  -----------
  [compiler-rt] Add the common FreeBSD AArch64 support

Reviewed by: vitalybuka

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


  Commit: b3c1442c6c0b678a76f25afaffed804dbd3f142f
      https://github.com/llvm/llvm-project/commit/b3c1442c6c0b678a76f25afaffed804dbd3f142f
  Author: Andrew Turner <andrew at fubar.geek.nz>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M compiler-rt/lib/asan/asan_mapping.h

  Log Message:
  -----------
  [compiler-rt] Add the FreeBSD AArch64 shadow offset

As with 64 bit x86 use an offset in middle of the address space scaled up
to work with the full 48 bit space.

Reviewed by: MaskRay

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


  Commit: ad3faddaa67d148fc9a2aef554a05e57df8075c8
      https://github.com/llvm/llvm-project/commit/ad3faddaa67d148fc9a2aef554a05e57df8075c8
  Author: Andrew Turner <andrew at fubar.geek.nz>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp

  Log Message:
  -----------
  [compiler-rt] Fix the longjmp sp slot on FreeBSD AArch64

The stack pointer is stored in the second slot in the jump buffer on
AArch64. Use the correct slot value to read this rather than the
following register.

Reviewed by: melver

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


  Commit: ccae01cbce8aeaba03e782759807d5b5fc4991f1
      https://github.com/llvm/llvm-project/commit/ccae01cbce8aeaba03e782759807d5b5fc4991f1
  Author: Andrew Turner <andrew at fubar.geek.nz>
  Date:   2022-06-08 (Wed, 08 Jun 2022)

  Changed paths:
    M compiler-rt/lib/safestack/safestack_platform.h

  Log Message:
  -----------
  [compiler-rt] Fix Mmap on FreeBSD AArch64

On FreeBSD AArch64 safestack needs to use __syscall to handle 64 bit arguments

Reviewed by: MaskRay, vitalybuka

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


Compare: https://github.com/llvm/llvm-project/compare/d97d930d9233...ccae01cbce8a


More information about the All-commits mailing list