summaryrefslogtreecommitdiff
path: root/test/passes/nm.txt
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-12-06 14:56:07 -0600
committerGitHub <noreply@github.com>2019-12-06 14:56:07 -0600
commitb232033385b025ba276423613fb67f644c0596ce (patch)
treeb30376610ebafcf6e44d2becb7c8eebfe4b74e7f /test/passes/nm.txt
parent6f55457c3edbeed202f27647a2cf0482160af098 (diff)
downloadbinaryen-b232033385b025ba276423613fb67f644c0596ce.tar.gz
binaryen-b232033385b025ba276423613fb67f644c0596ce.tar.bz2
binaryen-b232033385b025ba276423613fb67f644c0596ce.zip
Don't include `$` with names unless outputting to wat format (#2506)
The `$` is not actually part of the name, its the marker that starts a name in the wat format. It can be confusing to see it show up when doing `cerr << name`, for example. This change has Print.cpp add the `$` which seem like the right place to do this. Plus it revealed a bunch of places where were not calling printName to escape all the names we were printing.
Diffstat (limited to 'test/passes/nm.txt')
-rw-r--r--test/passes/nm.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/passes/nm.txt b/test/passes/nm.txt
index e34788c6d..3a8aad31d 100644
--- a/test/passes/nm.txt
+++ b/test/passes/nm.txt
@@ -1,6 +1,6 @@
- $a : 1
- $b : 5
- $c : 13
+ a : 1
+ b : 5
+ c : 13
(module
(type $0 (func))
(memory $0 0)