Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,7 @@ jobs:
asan.test_cubescript
asan.test_wasm_worker_hello
asan.test_externref_emjs_dynlink
asan.test_asyncify_longjmp
lsan.test_stdio_locking
lsan.test_dlfcn_basic
lsan.test_pthread_create"
Expand Down
2 changes: 2 additions & 0 deletions system/lib/compiler-rt/lib/asan/asan_rtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,9 @@ static void AsanInitInternal() {

ReplaceSystemMalloc();

#if !SANITIZER_EMSCRIPTEN
DisableCoreDumperIfNecessary();
#endif

InitializeShadowMemory();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ bool DontDumpShadowMemory(uptr addr, uptr length) {
#endif // MADV_DONTDUMP
}

#if !SANITIZER_EMSCRIPTEN
static rlim_t getlim(int res) {
rlimit rlim;
CHECK_EQ(0, getrlimit(res, &rlim));
Expand Down Expand Up @@ -127,6 +128,7 @@ void SetAddressSpaceUnlimited() {
setlim(RLIMIT_AS, RLIM_INFINITY);
CHECK(AddressSpaceIsUnlimited());
}
#endif

void Abort() {
#if !SANITIZER_GO
Expand Down