Skip to content

Commit de03c46

Browse files
[libc] reverts for 32b arm (#78307)
These were fixed properly by f1f1875. - Revert "[libc] temporarily set -Wno-shorten-64-to-32 (#77396)" - Revert "[libc] make off_t 32b for 32b arm (#77350)"
1 parent f4ede08 commit de03c46

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

libc/include/llvm-libc-types/off_t.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
#ifndef __LLVM_LIBC_TYPES_OFF_T_H__
1010
#define __LLVM_LIBC_TYPES_OFF_T_H__
1111

12-
#if defined(__LP64__) || defined(__riscv)
1312
typedef __INT64_TYPE__ off_t;
14-
#else
15-
typedef __INT32_TYPE__ off_t;
16-
#endif // __LP64__ || __riscv
1713

1814
#endif // __LLVM_LIBC_TYPES_OFF_T_H__

libc/src/sys/mman/linux/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ add_entrypoint_object(
2222
libc.include.sys_syscall
2323
libc.src.__support.OSUtil.osutil
2424
libc.src.errno.errno
25-
COMPILE_OPTIONS
26-
# TODO: https://github.com/llvm/llvm-project/issues/77395
27-
-Wno-shorten-64-to-32
2825
)
2926

3027
add_entrypoint_object(

0 commit comments

Comments
 (0)