[all-commits] [llvm/llvm-project] 693a1b: [gcov] Add nosanitize metadata to memory access in...

Enna1 via All-commits all-commits at lists.llvm.org
Wed May 24 19:15:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 693a1b7024b81655760e209b73b3ef339e161d76
      https://github.com/llvm/llvm-project/commit/693a1b7024b81655760e209b73b3ef339e161d76
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2023-05-25 (Thu, 25 May 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
    A llvm/test/Transforms/GCOVProfiling/nosanitize.ll

  Log Message:
  -----------
  [gcov] Add nosanitize metadata to memory access instructions inserted by emitProfileNotes()

This patch adds nosantize metadata to memory access instructions inserted by gcov emitProfileNotes(), making sanitizers skip these instructions when gcov and sanitizer are used together.

Reviewed By: nickdesaulniers

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




More information about the All-commits mailing list