From 76c8f82d5cf98171ff46ed4bf36791d3b891357f Mon Sep 17 00:00:00 2001 From: Alon Zakai <alonzakai@gmail.com> Date: Tue, 7 Feb 2017 11:24:57 -0800 Subject: asm2wasm debuginfo (#895) * parse file/line comments in asm.js into debug intrinsics * convert debug intrinsics into annotations, and print them * ignore --debuginfo if not emitting text, as wasm binaries don't support that yet * emit full debug info when -g and emitting text; when -g and emitting binary, all we can do is the Names section * update wasm.js --- src/mixed_arena.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mixed_arena.h') diff --git a/src/mixed_arena.h b/src/mixed_arena.h index 52e47fbde..af585092e 100644 --- a/src/mixed_arena.h +++ b/src/mixed_arena.h @@ -19,6 +19,7 @@ #include <atomic> #include <cassert> +#include <cstdlib> #include <memory> #include <mutex> #include <thread> -- cgit v1.2.3