Add symbol names as comments to `presym_length_table`; ref #5303

parent 69f94600
...@@ -91,7 +91,7 @@ module MRuby ...@@ -91,7 +91,7 @@ module MRuby
_pp "GEN", table_header_path.relative_path _pp "GEN", table_header_path.relative_path
File.open(table_header_path, "w:binary") do |f| File.open(table_header_path, "w:binary") do |f|
f.puts "static const uint16_t presym_length_table[] = {" f.puts "static const uint16_t presym_length_table[] = {"
presyms.each{|sym| f.puts " #{sym.bytesize},"} presyms.each{|sym| f.puts " #{sym.bytesize},\t/* #{sym} */"}
f.puts "};" f.puts "};"
f.puts f.puts
f.puts "static const char * const presym_name_table[] = {" f.puts "static const char * const presym_name_table[] = {"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment