[all-commits] [llvm/llvm-project] b3bd88: sanitizer_common: allow COMMON_INTERCEPTOR_ENTER t...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Mon Jul 12 06:54:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3bd8850174fb7e5ef03768ba05205701ffc10b2
      https://github.com/llvm/llvm-project/commit/b3bd8850174fb7e5ef03768ba05205701ffc10b2
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc

  Log Message:
  -----------
  sanitizer_common: allow COMMON_INTERCEPTOR_ENTER to use labels

The memcpy interceptor is the only one that uses COMMON_INTERCEPTOR_ENTER
more than once in a single function. This does not allow COMMON_INTERCEPTOR_ENTER
to use labels, because they are global for the whole function (not block scoped).
Don't include COMMON_INTERCEPTOR_ENTER code twice.

Reviewed By: melver

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




More information about the All-commits mailing list