Various LLDB fixes (also a threading memory leak fix)

This commit is contained in:
Lubos Dolezel 2018-07-30 17:16:44 +02:00
parent b4ebfa955f
commit b7eda95850
3 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,7 @@ function(dsym target)
endif()
")
endif (DSYMUTIL_EXE)
endif ()
endfunction(dsym)

View File

@ -89,6 +89,8 @@ void* __darling_thread_create(unsigned long stack_size, unsigned long pth_obj_si
pth = ((char*) pth) + stack_size + 0x1000;
pthread_attr_setstacksize(&attr, 4096);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
args.pth = pth;
pthread_create(&nativeLibcThread, &attr, darling_thread_entry, &args);
pthread_attr_destroy(&attr);

@ -1 +1 @@
Subproject commit 596145436ae77cbd0377f92bc2be9448d3008936
Subproject commit ca464535397b654d35f3683c893ad57e0c1e7951