[all-commits] [llvm/llvm-project] 04bd2c: [local-bounds] Ignore volatile operations

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue May 5 23:08:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04bd2c37caf48e79589dbccc486c6ad2541bec7a
      https://github.com/llvm/llvm-project/commit/04bd2c37caf48e79589dbccc486c6ad2541bec7a
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M clang/docs/UndefinedBehaviorSanitizer.rst
    M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
    M llvm/test/Instrumentation/BoundsChecking/simple.ll

  Log Message:
  -----------
  [local-bounds] Ignore volatile operations

Summary:
-fsanitize=local-bounds is very similar to ``object-size`` and
should also ignore volatile pointers.
https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#volatile

Reviewers: chandlerc, rsmith

Reviewed By: rsmith

Subscribers: cfe-commits, hiraditya, llvm-commits

Tags: #llvm, #clang

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




More information about the All-commits mailing list