summaryrefslogtreecommitdiff
path: root/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-10-25 23:03:34 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-10-25 23:03:34 +0000
commit7e8db745c56f7f9317f0d3472bf01bd48ca3424b (patch)
tree912fcd40f44d646e0f81ab9ff63231dea1afe0b9 /lib/asan/lit_tests/TestCases/strncpy-overflow.cc
parentc1a1ed62228288155459d39194995a36aca4a8a6 (diff)
downloadcompiler-rt-7e8db745c56f7f9317f0d3472bf01bd48ca3424b.tar.gz
compiler-rt-7e8db745c56f7f9317f0d3472bf01bd48ca3424b.tar.bz2
compiler-rt-7e8db745c56f7f9317f0d3472bf01bd48ca3424b.tar.xz
Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info.
Differential Revision: http://llvm-reviews.chandlerc.com/D1984 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/lit_tests/TestCases/strncpy-overflow.cc')
-rw-r--r--lib/asan/lit_tests/TestCases/strncpy-overflow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/asan/lit_tests/TestCases/strncpy-overflow.cc b/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
index 2b5f5b7c..5b89dadd 100644
--- a/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
+++ b/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
@@ -7,6 +7,8 @@
// RUN: %clangxx_asan -O3 %s -o %t && not %t 2>%t.out
// RUN: FileCheck %s < %t.out && FileCheck %s --check-prefix=CHECK-%os < %t.out
+// REQUIRES: compiler-rt-optimized
+
#include <string.h>
#include <stdlib.h>
int main(int argc, char **argv) {