[compiler-rt] 427c9aa - Revert "[scudo] Use stdint types for internal scudo types"

Kostya Kortchinsky via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 11:14:29 PDT 2021


Author: Kostya Kortchinsky
Date: 2021-08-16T11:13:48-07:00
New Revision: 427c9aa7c440aa9003e322a3107f8b222fa17ef4

URL: https://github.com/llvm/llvm-project/commit/427c9aa7c440aa9003e322a3107f8b222fa17ef4
DIFF: https://github.com/llvm/llvm-project/commit/427c9aa7c440aa9003e322a3107f8b222fa17ef4.diff

LOG: Revert "[scudo] Use stdint types for internal scudo types"

This reverts commit 5fc841d8a278ea16bae457deba35d0db6b716dd6.

Added: 
    

Modified: 
    compiler-rt/lib/scudo/standalone/internal_defs.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/scudo/standalone/internal_defs.h b/compiler-rt/lib/scudo/standalone/internal_defs.h
index 621fc9c45e952..c9ffad136b78d 100644
--- a/compiler-rt/lib/scudo/standalone/internal_defs.h
+++ b/compiler-rt/lib/scudo/standalone/internal_defs.h
@@ -78,16 +78,16 @@
 
 namespace scudo {
 
-typedef uintptr_t uptr;
-typedef uint8_t u8;
-typedef uint16_t u16;
-typedef uint32_t u32;
-typedef uint64_t u64;
-typedef intptr_t sptr;
-typedef int8_t s8;
-typedef int16_t s16;
-typedef int32_t s32;
-typedef int64_t s64;
+typedef unsigned long uptr;
+typedef unsigned char u8;
+typedef unsigned short u16;
+typedef unsigned int u32;
+typedef unsigned long long u64;
+typedef signed long sptr;
+typedef signed char s8;
+typedef signed short s16;
+typedef signed int s32;
+typedef signed long long s64;
 
 // The following two functions have platform specific implementations.
 void outputRaw(const char *Buffer);


        


More information about the llvm-commits mailing list