summaryrefslogtreecommitdiffstats
path: root/compiler-rt/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
commitcbdea323acc1181d3943643b6247b1d8241ae930 (patch)
treeda6f7f7b71e75d6cbd4b5577701ee750773b82f2 /compiler-rt/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
parent791e65dcfb55b4fb2aa02e9d0e58a0896e8dec09 (diff)
downloadbcm5719-llvm-cbdea323acc1181d3943643b6247b1d8241ae930.tar.gz
bcm5719-llvm-cbdea323acc1181d3943643b6247b1d8241ae930.zip
Add a CMake option COMPILER_RT_DEBUG for building runtimes with full debug info.
Differential Revision: http://llvm-reviews.chandlerc.com/D1984 llvm-svn: 193449
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/TestCases/strncpy-overflow.cc')
-rw-r--r--compiler-rt/lib/asan/lit_tests/TestCases/strncpy-overflow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/TestCases/strncpy-overflow.cc b/compiler-rt/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
index 2b5f5b7cdd7..5b89dadd6e5 100644
--- a/compiler-rt/lib/asan/lit_tests/TestCases/strncpy-overflow.cc
+++ b/compiler-rt/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) {
OpenPOWER on IntegriCloud