(self)
| 1763 | return super().can_use() and self.eh_mode in {Exceptions.WASM_LEGACY, Exceptions.WASM} |
| 1764 | |
| 1765 | def get_cflags(self): |
| 1766 | cflags = super().get_cflags() |
| 1767 | cflags.append('-DNDEBUG') |
| 1768 | if not self.is_mt and not self.is_ww: |
| 1769 | cflags.append('-D_LIBUNWIND_HAS_NO_THREADS') |
| 1770 | match self.eh_mode: |
| 1771 | case Exceptions.NONE: |
| 1772 | cflags.append('-D_LIBUNWIND_HAS_NO_EXCEPTIONS') |
| 1773 | case Exceptions.EMSCRIPTEN: |
| 1774 | cflags.append('-D__EMSCRIPTEN_EXCEPTIONS__') |
| 1775 | return cflags |
| 1776 | |
| 1777 | |
| 1778 | class libmalloc(MTLibrary): |
nothing calls this directly
no test coverage detected