[all-commits] [llvm/llvm-project] 5853e1: [sanitizers] Fix typo in ca9815fc247c

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Mar 10 03:18:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5853e1ca7fc80d998858cb139e753ce3718391c1
      https://github.com/llvm/llvm-project/commit/5853e1ca7fc80d998858cb139e753ce3718391c1
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h

  Log Message:
  -----------
  [sanitizers] Fix typo in ca9815fc247c

I accidentally committed the wrong version of this patch which didn't
actually enable the hooks for FreeBSD. Fixing the typo allows the tests
to actually pass.


  Commit: 6840fc4e7fa1c9b88c17ff0b684f1137125a96af
      https://github.com/llvm/llvm-project/commit/6840fc4e7fa1c9b88c17ff0b684f1137125a96af
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M compiler-rt/test/asan/TestCases/large_func_test.cpp
    M compiler-rt/test/asan/TestCases/use-after-delete.cpp

  Log Message:
  -----------
  [asan][tests] Handle FreeBSD in large_func_test and use-after-delete

This is the same fix as ab8a46024157b4d042ea6325710bbccd598adcfc for
Solaris and 23cd8d51ad519261137a40a5bbac6e537ee7ba25 (Windows+Darwin).


  Commit: cbcab14b19fce821a40a72a6f510207ced916a23
      https://github.com/llvm/llvm-project/commit/cbcab14b19fce821a40a72a6f510207ced916a23
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.cpp

  Log Message:
  -----------
  [compiler-rt] Silence a deprecation warning on FreeBSD

On FreeBSD the sys/timeb.h header has a #warning that it's deprecated.
However, we need to include this header here, so silence this warning that
is printed multiple times otherwise.

Reviewed By: dim

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


  Commit: 81e2550f94ad30a000ab83d1183a86533832ee33
      https://github.com/llvm/llvm-project/commit/81e2550f94ad30a000ab83d1183a86533832ee33
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    A llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll

  Log Message:
  -----------
  [SLC] Baseline test for missed strcpy optimizations in non-zero AS

This will be fixed in D95142

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


  Commit: b26d6758f056a5a1187b7193e0c5071291c4d0e5
      https://github.com/llvm/llvm-project/commit/b26d6758f056a5a1187b7193e0c5071291c4d0e5
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll
    M llvm/test/Transforms/InstCombine/strncpy_chk-2.ll

  Log Message:
  -----------
  [SLC] Simplify strcpy and friends with non-zero address spaces

The current logic in TargetLibraryInfoImpl::getLibFunc() was only treating
strcpy, etc. with i8* arguments in address space zero as a valid library
function. However, in the CHERI and Morello targets we expect all libc
functions to use address space 200 arguments.

This commit updates isValidProtoForLibFunc() to check that the argument
is a pointer type. This also drops the check for i8* since we should not
be checking the pointee type any more.

Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D95142


  Commit: 35bf23e965508a6ca00009ca45ba882d1ba7808c
      https://github.com/llvm/llvm-project/commit/35bf23e965508a6ca00009ca45ba882d1ba7808c
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-10 (Wed, 10 Mar 2021)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/tools/bugpoint/FindBugs.cpp
    M llvm/tools/bugpoint/ListReducer.h
    M llvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp
    M llvm/tools/llvm-stress/llvm-stress.cpp

  Log Message:
  -----------
  Avoid shuffle self-assignment in EXPENSIVE_CHECKS builds

Some versions of libstdc++ perform self-assignment in std::shuffle. This
breaks the EXPENSIVE_CHECKS builds of TableGen due to an incorrect assertion
in libstdc++.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85828.

Fixes https://llvm.org/PR37652

Reviewed By: RKSimon

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


Compare: https://github.com/llvm/llvm-project/compare/4d295cf5b54e...35bf23e96550


More information about the All-commits mailing list