[all-commits] [llvm/llvm-project] f26ada: [compiler-rt][test] fix zero_page_pc on arm64e

Emily Shi via All-commits all-commits at lists.llvm.org
Thu Jun 24 13:40:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f26adaa28d55a174c7ba2f4d49f4f942a04da922
      https://github.com/llvm/llvm-project/commit/f26adaa28d55a174c7ba2f4d49f4f942a04da922
  Author: Emily Shi <code at emi.sh>
  Date:   2021-06-24 (Thu, 24 Jun 2021)

  Changed paths:
    M compiler-rt/test/asan/TestCases/zero_page_pc.cpp

  Log Message:
  -----------
  [compiler-rt][test] fix zero_page_pc on arm64e

on arm64e, pointer auth would catch this access violation before asan.
sign the function pointer so pointer auth will ignore this violation and let asan catch it in this test case.

rdar://79652167

Reviewed By: delcypher

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




More information about the All-commits mailing list