|
42 | 42 | dlmalloc_debug
|
43 | 43 | dlmalloc_threadsafe
|
44 | 44 | dlmalloc_threadsafe_debug
|
| 45 | + dlmalloc_noerrno |
| 46 | + dlmalloc_debug_noerrno |
| 47 | + dlmalloc_threadsafe_noerrno |
| 48 | + dlmalloc_threadsafe_debug_noerrno |
45 | 49 | pthreads
|
46 | 50 | libc++
|
47 | 51 | libc++_noexcept
|
|
108 | 112 | 'al', 'compiler-rt', 'gl', 'gl-mt', 'libc', 'libc-mt', 'libc-extras',
|
109 | 113 | 'emmalloc', 'emmalloc_debug', 'dlmalloc', 'dlmalloc_threadsafe', 'pthreads',
|
110 | 114 | 'dlmalloc_debug', 'dlmalloc_threadsafe_debug', 'libc++', 'libc++_noexcept',
|
| 115 | + 'dlmalloc_debug_noerrno', 'dlmalloc_threadsafe_debug_noerrno', |
| 116 | + 'dlmalloc_noerrno', 'dlmalloc_threadsafe_noerrno', |
111 | 117 | 'libc++abi', 'html5'
|
112 | 118 | ]
|
113 | 119 | USER_TASKS = [
|
@@ -201,6 +207,14 @@ def main():
|
201 | 207 | build(C_WITH_MALLOC, ['libdlmalloc_threadsafe_debug.bc'], ['-g', '-s', 'USE_PTHREADS=1', '-s', 'MALLOC="dlmalloc"'])
|
202 | 208 | elif what in ('dlmalloc_threadsafe', 'libc-mt', 'pthreads'):
|
203 | 209 | build(C_WITH_MALLOC, ['libc-mt.bc', 'libdlmalloc_threadsafe.bc', 'libpthreads.bc'], ['-s', 'USE_PTHREADS=1', '-s', 'MALLOC="dlmalloc"'])
|
| 210 | + elif what == 'dlmalloc_noerrno': |
| 211 | + build(C_WITH_MALLOC, ['libdlmalloc_noerrno.bc'], ['-s', 'MALLOC="dlmalloc"', '-s', 'SUPPORT_ERRNO=0']) |
| 212 | + elif what == 'dlmalloc_debug_noerrno': |
| 213 | + build(C_WITH_MALLOC, ['libdlmalloc_debug_noerrno.bc'], ['-g', '-s', 'MALLOC="dlmalloc"', '-s', 'SUPPORT_ERRNO=0']) |
| 214 | + elif what == 'dlmalloc_threadsafe_debug_noerrno': |
| 215 | + build(C_WITH_MALLOC, ['libdlmalloc_threadsafe_debug_noerrno.bc'], ['-g', '-s', 'USE_PTHREADS=1', '-s', 'MALLOC="dlmalloc"', '-s', 'SUPPORT_ERRNO=0']) |
| 216 | + elif what == 'dlmalloc_threadsafe_noerrno': |
| 217 | + build(C_WITH_MALLOC, ['libdlmalloc_threadsafe_noerrno.bc'], ['-s', 'USE_PTHREADS=1', '-s', 'MALLOC="dlmalloc"', '-s', 'SUPPORT_ERRNO=0']) |
204 | 218 | elif what == 'libc-wasm':
|
205 | 219 | build(C_WITH_STDLIB, ['libc-wasm.bc'], ['-s', 'WASM=1'])
|
206 | 220 | elif what == 'libc++':
|
|
0 commit comments