[compiler-rt] r281342 - [asan] Add missing include for rand()

Jonas Hahnfeld via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 13 07:42:40 PDT 2016


Author: hahnfeld
Date: Tue Sep 13 09:42:40 2016
New Revision: 281342

URL: http://llvm.org/viewvc/llvm-project?rev=281342&view=rev
Log:
[asan] Add missing include for rand()

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/release_to_os_test.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/release_to_os_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/release_to_os_test.cc?rev=281342&r1=281341&r2=281342&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/release_to_os_test.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/release_to_os_test.cc Tue Sep 13 09:42:40 2016
@@ -6,6 +6,7 @@
 // RUN: %env_asan_opts=allocator_release_to_os=0 %run %t 2>&1 | FileCheck %s --check-prefix=NO_RELEASE
 //
 // REQUIRES: x86_64-target-arch
+#include <stdlib.h>
 #include <stdio.h>
 #include <algorithm>
 #include <stdint.h>




More information about the llvm-commits mailing list