summaryrefslogtreecommitdiffstats
path: root/llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2016-08-20 17:22:27 +0000
committerVitaly Buka <vitalybuka@google.com>2016-08-20 17:22:27 +0000
commit5b4f12176cf14d0c5562c5dbc92e02c7493d5778 (patch)
tree9e621b5d122203bbb3b456831649ef8c4f1a03fe /llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll
parentcb0ba1067fb9793a7d6d782feeeed99c700279c3 (diff)
downloadbcm5719-llvm-5b4f12176cf14d0c5562c5dbc92e02c7493d5778.tar.gz
bcm5719-llvm-5b4f12176cf14d0c5562c5dbc92e02c7493d5778.zip
[asan] Cleanup instrumentation of dynamic allocas
Summary: Extract instrumenting dynamic allocas into separate method. Rename asan-instrument-allocas -> asan-instrument-dynamic-allocas Differential Revision: https://reviews.llvm.org/D23707 llvm-svn: 279376
Diffstat (limited to 'llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll')
-rw-r--r--llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll b/llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll
index f6354b1ee59..6fc52bb66de 100644
--- a/llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll
+++ b/llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll
@@ -1,7 +1,7 @@
; Test asan internal compiler flags:
-; -asan-instrument-allocas=1
+; -asan-instrument-dynamic-allocas
-; RUN: opt < %s -asan -asan-module -asan-instrument-allocas=1 -S | FileCheck %s --check-prefix=CHECK-ALLOCA
+; RUN: opt < %s -asan -asan-module -asan-instrument-dynamic-allocas -S | FileCheck %s --check-prefix=CHECK-ALLOCA
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-unknown-linux-gnu"
OpenPOWER on IntegriCloud