This implements basic DWARF output when building for the wasm target. Stacktraces, however, are currently not supported.