[all-commits] [llvm/llvm-project] 5695fa: [asan] Also allow for SIGBUS in high-address-deref...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Aug 25 04:22:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5695fa9190595e6c82d14c830060538d227622c9
      https://github.com/llvm/llvm-project/commit/5695fa9190595e6c82d14c830060538d227622c9
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_posix.cpp
    M compiler-rt/test/asan/TestCases/Posix/high-address-dereference.c

  Log Message:
  -----------
  [asan] Also allow for SIGBUS in high-address-dereference.c

FreeBSD delivers a SIGBUS signal for bad addresses rather than SIGSEGV.

Reviewed By: #sanitizers, vitalybuka, yln

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


  Commit: 39d25064614fb87dcb934739af987c8f66068be2
      https://github.com/llvm/llvm-project/commit/39d25064614fb87dcb934739af987c8f66068be2
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/Posix/crypt.cpp

  Log Message:
  -----------
  Fix crypt.cpp sanitizer test on FreeBSD

FreeBSD doesn't provide a crypt.h header but instead defines the functions
in unistd.h. Use __has_include() to handle that case.

Reviewed By: #sanitizers, vitalybuka

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


  Commit: 3221c248d940d6355ad8d0ff35194fd6b87ef87f
      https://github.com/llvm/llvm-project/commit/3221c248d940d6355ad8d0ff35194fd6b87ef87f
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

  Changed paths:
    M llvm/utils/UpdateTestChecks/asm.py

  Log Message:
  -----------
  Fix update_llc_test_checks function regex for RV64

Some functions also include a `.Lfunc$local:` label due to
-fno-semantic-interposition

Reviewed By: MaskRay

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


Compare: https://github.com/llvm/llvm-project/compare/ee2fdedd842c...3221c248d940


More information about the All-commits mailing list