[compiler-rt] b978a93 - [gcov] Delete ancient MSVC workaround
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 12 15:10:21 PST 2021
Author: Fangrui Song
Date: 2021-03-12T15:10:12-08:00
New Revision: b978a93635b584db380274d7c8963c73989944a1
URL: https://github.com/llvm/llvm-project/commit/b978a93635b584db380274d7c8963c73989944a1
DIFF: https://github.com/llvm/llvm-project/commit/b978a93635b584db380274d7c8963c73989944a1.diff
LOG: [gcov] Delete ancient MSVC workaround
Added:
Modified:
compiler-rt/lib/profile/GCDAProfiling.c
Removed:
################################################################################
diff --git a/compiler-rt/lib/profile/GCDAProfiling.c b/compiler-rt/lib/profile/GCDAProfiling.c
index a7f6f3ff54e1..649c73f9d361 100644
--- a/compiler-rt/lib/profile/GCDAProfiling.c
+++ b/compiler-rt/lib/profile/GCDAProfiling.c
@@ -23,6 +23,7 @@
#include <errno.h>
#include <fcntl.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -38,16 +39,6 @@
#include <unistd.h>
#endif
-#if !defined(_MSC_VER)
-#include <stdint.h>
-#endif
-
-#if defined(_MSC_VER)
-typedef unsigned char uint8_t;
-typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
-#endif
-
#include "InstrProfiling.h"
#include "InstrProfilingUtil.h"
More information about the llvm-commits
mailing list