Add symbol names as comments to presym_length_table; ref #5303

This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-01-27 23:47:32 +09:00
parent 69f9460075
commit f5e10e294c
+1 -1
View File
@@ -91,7 +91,7 @@ module MRuby
_pp "GEN", table_header_path.relative_path
File.open(table_header_path, "w:binary") do |f|
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 "static const char * const presym_name_table[] = {"