[all-commits] [llvm/llvm-project] ebad19: [compiler-rt][hwasan] Introduce MaybeDieIfNoTaggin...

Alexander Potapenko via All-commits all-commits at lists.llvm.org
Thu Aug 25 01:32:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ebad19fedc40b9da51cf38cdb4df6e9e7456429d
      https://github.com/llvm/llvm-project/commit/ebad19fedc40b9da51cf38cdb4df6e9e7456429d
  Author: Alexander Potapenko <glider at google.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_linux.cpp

  Log Message:
  -----------
  [compiler-rt][hwasan] Introduce MaybeDieIfNoTaggingAbi()

Use a helper function to print an error message and die in the case
flags()->fail_without_syscall_abi is set.

Because x86 doesn't have `sysctl abi.tagged_addr_disabled`, do not
mention it in the error message for non-Android runtime.

Depends on D132543

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




More information about the All-commits mailing list