Skip to content

Commit 18d1aa3

Browse files
committed
Mention debug symbol section
1 parent c931978 commit 18d1aa3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

TextFormat.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,12 @@ binary format are considered invalid text. Floating-point numbers are therefore
3333
represented as hexadecimal floating-point as specified by the C99 standard, which
3434
IEEE-754-2008 section 5.12.3 also specifies. The textual format may be improved to also
3535
support more human-readable representations, but never at the cost of accurate representation.
36+
37+
## Debug symbol integration
38+
39+
The binary format inherently strips names from functions, locals, globals, etc,
40+
reducing each of these to dense indices. Without help, the text format must
41+
therefore synthesize new names. However, as part of the [tooling](Tooling.md)
42+
story, a lightweight, optional "debug symbol" global section may be defined
43+
which associates names with each indexed entity and, when present, these names
44+
will be used in the text format projected from a binary WebAssembly module.

0 commit comments

Comments
 (0)