[all-commits] [llvm/llvm-project] 3ebd1b: [MSAN] Instrument freeze instruction by clearing s...

Gui Andrade via All-commits all-commits at lists.llvm.org
Mon Aug 3 09:42:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ebd1ba64f3d6f1e75f43213c50f0d1bd3902228
      https://github.com/llvm/llvm-project/commit/3ebd1ba64f3d6f1e75f43213c50f0d1bd3902228
  Author: Gui Andrade <guiand at google.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

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

  Log Message:
  -----------
  [MSAN] Instrument freeze instruction by clearing shadow

Freeze always returns a defined value. This also prevents msan from
checking the input shadow, which happened because freeze wasn't
explicitly visited.

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




More information about the All-commits mailing list