[PATCH] D55926: [HWASAN] Instrument memorty intrinsics by default
Eugene Leviant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 24 08:07:09 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL350055: [HWASAN] Instrument memorty intrinsics by default (authored by evgeny777, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D55926?vs=179062&id=179473#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55926/new/
https://reviews.llvm.org/D55926
Files:
llvm/trunk/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
llvm/trunk/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll
Index: llvm/trunk/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ llvm/trunk/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -155,7 +155,7 @@
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
Index: llvm/trunk/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll
===================================================================
--- llvm/trunk/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll
+++ llvm/trunk/test/Instrumentation/HWAddressSanitizer/mem-intrinsics.ll
@@ -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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55926.179473.patch
Type: text/x-patch
Size: 1200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181224/ee0879cb/attachment.bin>
More information about the llvm-commits
mailing list