Skip to content

Commit e66a1a5

Browse files
committed
[libc][NFC] Use no_sanitize("all")
This function cannot have any instrumentation because it's assembly must match exactly what the debugger is expecting. Previously it was just a list of what sanitizers we expect libc would be sanitized with but this is untenable.
1 parent 5b5329b commit e66a1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/signal/linux/__restore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace __llvm_libc {
1717

1818
extern "C" void __restore_rt()
19-
__attribute__((no_sanitize("thread", "memory", "undefined", "fuzzer"),
19+
__attribute__((no_sanitize("all"),
2020
hidden));
2121

2222
extern "C" void __restore_rt() { __llvm_libc::syscall(SYS_rt_sigreturn); }

0 commit comments

Comments
 (0)