[all-commits] [llvm/llvm-project] d1aee9: [sanitizers] Remove assert from ThreadArgRetval::F...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri May 12 10:15:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1aee9c0cbd8f9efc1938348a5bab8fa947c90d2
      https://github.com/llvm/llvm-project/commit/d1aee9c0cbd8f9efc1938348a5bab8fa947c90d2
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_interceptors.cpp
    M compiler-rt/lib/hwasan/hwasan_interceptors.cpp
    M compiler-rt/lib/lsan/lsan_interceptors.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_thread_arg_retval.cpp

  Log Message:
  -----------
  [sanitizers] Remove assert from ThreadArgRetval::Finish

Bionic uses pthread_exit to set retval, when GLIBC does not.
This cause double call to Finish. Rather then tracking this difference
on interceptor size, we can just relax precondition. It does not make
a difference.




More information about the All-commits mailing list