add more debug (string values)
This commit is contained in:
parent
493b02674c
commit
0e3e11a699
@ -31,7 +31,10 @@ module Elf
|
||||
end
|
||||
end
|
||||
assembler.objects.values.each do |slot|
|
||||
add_symbol "#{slot.class.name}::#{slot.position.to_s(16)}" , slot.position
|
||||
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