Replace -g4 with -gsource-map
This commit is contained in:
@@ -1134,8 +1134,8 @@ impl<'a> Linker for EmLinker<'a> {
|
|||||||
// Preserve names or generate source maps depending on debug info
|
// Preserve names or generate source maps depending on debug info
|
||||||
self.cmd.arg(match self.sess.opts.debuginfo {
|
self.cmd.arg(match self.sess.opts.debuginfo {
|
||||||
DebugInfo::None => "-g0",
|
DebugInfo::None => "-g0",
|
||||||
DebugInfo::Limited => "-g3",
|
DebugInfo::Limited => "--profiling-funcs",
|
||||||
DebugInfo::Full => "-g4",
|
DebugInfo::Full => "-g",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user