MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / has_debug_section

Method has_debug_section

test/test_other.py:14664–14666  ·  view source on GitHub ↗
(wasm)

Source from the content-addressed store, hash-verified

14662
14663 def test_strip_all(self):
14664 def has_debug_section(wasm):
14665 with webassembly.Module('hello_world.wasm') as wasm:
14666 return wasm.get_custom_section('.debug_info') is not None
14667
14668 # Use -O2 to ensure wasm-opt gets run
14669 self.cflags += ['-g', '-O2']

Callers

nothing calls this directly

Calls 1

get_custom_sectionMethod · 0.80

Tested by

no test coverage detected