Skip to content

Commit 302d38a

Browse files
committed
Sync with LLVM 20.1.4
1 parent 580c7c6 commit 302d38a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

system/lib/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,7 @@ uptr internal_close_range(fd_t lowfd, fd_t highfd, int flags) {
290290
return internal_syscall(SYSCALL(close_range), lowfd, highfd, flags);
291291
}
292292
# endif
293-
294-
uptr internal_close(fd_t fd) {
295-
return internal_syscall(SYSCALL(close), fd);
296-
}
293+
uptr internal_close(fd_t fd) { return internal_syscall(SYSCALL(close), fd); }
297294

298295
uptr internal_open(const char *filename, int flags) {
299296
# if SANITIZER_LINUX
@@ -582,9 +579,7 @@ uptr internal_rename(const char *oldpath, const char *newpath) {
582579
# endif
583580
}
584581

585-
uptr internal_sched_yield() {
586-
return internal_syscall(SYSCALL(sched_yield));
587-
}
582+
uptr internal_sched_yield() { return internal_syscall(SYSCALL(sched_yield)); }
588583

589584
void internal_usleep(u64 useconds) {
590585
struct timespec ts;

0 commit comments

Comments
 (0)