[compiler-rt] r307557 - Fix-up for r307537: We need to #include stdint.h to get int32_t.

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 10:11:52 PDT 2017


Author: kuba.brecka
Date: Mon Jul 10 10:11:52 2017
New Revision: 307557

URL: http://llvm.org/viewvc/llvm-project?rev=307557&view=rev
Log:
Fix-up for r307537: We need to #include stdint.h to get int32_t.


Modified:
    compiler-rt/trunk/test/tsan/Darwin/osspinlock-norace.cc

Modified: compiler-rt/trunk/test/tsan/Darwin/osspinlock-norace.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/Darwin/osspinlock-norace.cc?rev=307557&r1=307556&r2=307557&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/Darwin/osspinlock-norace.cc (original)
+++ compiler-rt/trunk/test/tsan/Darwin/osspinlock-norace.cc Mon Jul 10 10:11:52 2017
@@ -1,5 +1,6 @@
 // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
 #include <pthread.h>
+#include <stdint.h>
 #include <stdio.h>
 
 typedef int32_t OSSpinLock;




More information about the llvm-commits mailing list