Skip to content

Conversation

kripken
Copy link
Member

@kripken kripken commented Aug 28, 2023

In general, full print mode should print out all the things to avoid confusion. It
already did so for blocks (that the text format sometimes elides), types, etc. Doing
it for debug info can avoid confusion when debugging (in fact, this was one of the
main reasons I've been confused about how source maps work in Binaryen...).

Also add a comment to the code just landed in #5903

cc @JesseCodeBones , thanks for the suggestion that gave me the idea for this!

@kripken kripken requested a review from aheejin August 28, 2023 20:10
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Merging #5904 (114aa96) into main (0598939) will increase coverage by 0.02%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #5904      +/-   ##
==========================================
+ Coverage   42.57%   42.60%   +0.02%     
==========================================
  Files         484      484              
  Lines       74831    74829       -2     
  Branches    11924    11922       -2     
==========================================
+ Hits        31858    31878      +20     
+ Misses      39772    39751      -21     
+ Partials     3201     3200       -1     
Files Changed Coverage Δ
src/passes/Print.cpp 66.01% <100.00%> (+0.92%) ⬆️

... and 4 files with indirect coverage changes

@kripken kripken merged commit b29cdd4 into main Aug 29, 2023
@kripken kripken deleted the debug-full branch August 29, 2023 18:22
radekdoulik pushed a commit to dotnet/binaryen that referenced this pull request Jul 12, 2024
In general, full print mode should print out all the things to avoid confusion. It
already did so for blocks (that the text format sometimes elides), types, etc. Doing
it for debug info can avoid confusion when debugging (in fact, this was one of the
main reasons I've been confused about how source maps work in Binaryen...).

Also add a comment to the code just landed in WebAssembly#5903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants