Skip to content

Commit

Permalink
[HWASAN] Instrument memorty intrinsics by default
Browse files Browse the repository at this point in the history
Differential revision: https://reviews.llvm.org/D55926

llvm-svn: 350055
  • Loading branch information
eleviant committed Dec 24, 2018
1 parent ba9d5cf commit 4dc3a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
Expand Up @@ -155,7 +155,7 @@ static cl::opt<bool>
static cl::opt<bool>
ClInstrumentMemIntrinsics("hwasan-instrument-mem-intrinsics",
cl::desc("instrument memory intrinsics"),
cl::Hidden, cl::init(false));
cl::Hidden, cl::init(true));
namespace {

/// An instrumentation pass implementing detection of addressability bugs
Expand Down
@@ -1,4 +1,4 @@
; RUN: opt -S -hwasan -hwasan-instrument-mem-intrinsics %s | FileCheck %s
; RUN: opt -S -hwasan %s | FileCheck %s

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
Expand Down

0 comments on commit 4dc3a3f

Please sign in to comment.