[all-commits] [llvm/llvm-project] 03e882: [msan] Remove more attributes from sanitized funct...

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Mon Oct 28 17:57:47 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 03e882050f1a28024dfd9d88688f718734c0b319
      https://github.com/llvm/llvm-project/commit/03e882050f1a28024dfd9d88688f718734c0b319
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2019-10-28 (Mon, 28 Oct 2019)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    A llvm/test/Instrumentation/MemorySanitizer/attributes.ll

  Log Message:
  -----------
  [msan] Remove more attributes from sanitized functions.

Summary:
MSan instrumentation adds stores and loads even to pure
readonly/writeonly functions. It is removing some of those attributes
from instrumented functions and call targets, but apparently not enough.

Remove writeonly, argmemonly and speculatable in addition to readonly /
readnone.

Reviewers: pcc, vitalybuka

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list