(self)
| 797 | super().__init__(**kwargs) |
| 798 | |
| 799 | def get_cflags(self): |
| 800 | cflags = super().get_cflags() |
| 801 | match self.eh_mode: |
| 802 | case Exceptions.NONE: |
| 803 | cflags += ['-fno-exceptions'] |
| 804 | case Exceptions.EMSCRIPTEN: |
| 805 | cflags += ['-sDISABLE_EXCEPTION_CATCHING=0'] |
| 806 | case Exceptions.WASM_LEGACY: |
| 807 | cflags += ['-fwasm-exceptions', '-sWASM_LEGACY_EXCEPTIONS'] |
| 808 | case Exceptions.WASM: |
| 809 | cflags += ['-fwasm-exceptions', '-sWASM_LEGACY_EXCEPTIONS=0'] |
| 810 | |
| 811 | return cflags |
| 812 | |
| 813 | def get_base_name(self): |
| 814 | name = super().get_base_name() |
nothing calls this directly
no test coverage detected