[all-commits] [llvm/llvm-project] abdefe: tsan: tidy up SCOPED_INTERCEPTOR_RAW

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Oct 26 23:47:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abdefea6a21a26748d4237b70b3f78f29143291b
      https://github.com/llvm/llvm-project/commit/abdefea6a21a26748d4237b70b3f78f29143291b
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-27 (Wed, 27 Oct 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors.h

  Log Message:
  -----------
  tsan: tidy up SCOPED_INTERCEPTOR_RAW

Don't leak caller_pc var from the macro
(it's not supposed to be used by interceptors).
Use UNUSED instead of (void) cast.

Depends on D112540.

Reviewed By: melver

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




More information about the All-commits mailing list