add more debug (string values)
This commit is contained in:
parent
493b02674c
commit
0e3e11a699
@ -30,8 +30,11 @@ module Elf
|
||||
end
|
||||
end
|
||||
end
|
||||
assembler.objects.values.each do |slot|
|
||||
add_symbol "#{slot.class.name}::#{slot.position.to_s(16)}" , slot.position
|
||||
assembler.objects.values.each do |slot|
|
||||
label = "#{slot.class.name}::#{slot.position.to_s(16)}"
|
||||
label += "=#{slot}" if slot.is_a?(Symbol) or slot.is_a?(String)
|
||||
label += "=#{slot.string}" if slot.is_a?(Virtual::StringConstant)
|
||||
add_symbol label , slot.position
|
||||
end
|
||||
end
|
||||
attr_reader :text
|
||||
|
Loading…
Reference in New Issue
Block a user