emit=all for liblumen_otp integration tests
Makes it easier to debug compiling/lowering bugs
@@ -47,7 +47,8 @@ fn compile(file: &str, name: &str) -> PathBuf {
.arg(&output_path_buf)
// Turn off optimizations as work-around for debug info bug in EIR
.arg("-O0")
- .arg("-lc");
+ .arg("-lc")
+ .arg("--emit=all");
let erlang_path = directory_path.join(file_stem).join(name).join("init.erl");
