mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-03 07:29:23 +00:00
parent
0c51995b2b
commit
f224a55d57
3 changed files with 3 additions and 2 deletions
|
@ -39,7 +39,7 @@
|
|||
int madvise(void *addr, size_t length, int advice) {
|
||||
int rc;
|
||||
if (IsAsan() && !__asan_is_valid(addr, length)) {
|
||||
rc = efault();
|
||||
rc = enomem();
|
||||
} else if (!IsWindows()) {
|
||||
rc = sys_madvise(addr, length, advice);
|
||||
} else {
|
||||
|
|
1
third_party/bash/BUILD.mk
vendored
1
third_party/bash/BUILD.mk
vendored
|
@ -85,6 +85,7 @@ $(THIRD_PARTY_BASH_OBJS): private \
|
|||
-Wno-missing-braces \
|
||||
-Wno-unused-label \
|
||||
-Wno-unused-value \
|
||||
-Wno-return-type \
|
||||
-Wno-parentheses \
|
||||
-fportcosmo
|
||||
|
||||
|
|
2
third_party/libunwind/libunwind.cc
vendored
2
third_party/libunwind/libunwind.cc
vendored
|
@ -23,7 +23,7 @@
|
|||
#endif
|
||||
|
||||
#if __has_feature(address_sanitizer) || defined(__SANITIZE_ADDRESS__)
|
||||
#include <sanitizer/asan_interface.h>
|
||||
//#include <sanitizer/asan_interface.h>
|
||||
#endif
|
||||
|
||||
#if !defined(__USING_SJLJ_EXCEPTIONS__)
|
||||
|
|
Loading…
Add table
Reference in a new issue