diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-07 18:01:09 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-07 18:01:09 -0800 |
commit | 5c02f40d3422617d0be4f0542b8b5281cae7883b (patch) | |
tree | 0a486e9da09016e3c47981d88844f3ccbc65acab /emcc | |
parent | 16230c8cf1e947e03714da3fd3307a9eff41405a (diff) |
automatic malloc need detection for new
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -439,7 +439,7 @@ try: has_dlmalloc = False for input_file in input_files: symbols = shared.Building.llvm_nm(in_temp(unsuffixed_basename(input_file) + '.o')) - for malloc_def in ['malloc', 'free', 'calloc', 'memalign', 'realloc', 'valloc', 'pvalloc', 'mallinfo', 'mallopt', 'malloc_trim', 'malloc_stats', 'malloc_usable_size', 'malloc_footprint', 'malloc_max_footprint', 'independent_calloc', 'independent_comalloc']: + for malloc_def in ['malloc', 'free', 'calloc', 'memalign', 'realloc', 'valloc', 'pvalloc', 'mallinfo', 'mallopt', 'malloc_trim', 'malloc_stats', 'malloc_usable_size', 'malloc_footprint', 'malloc_max_footprint', 'independent_calloc', 'independent_comalloc', '_Znwj', '_Znaj', '_Znam', '_Znwm']: if malloc_def in symbols.undefs: need_dlmalloc = True if malloc_def in symbols.defs: |