Use cdata to pass IR_KINT64 to -jdump.
This commit is contained in:
@@ -295,6 +295,9 @@ local function formatk(tr, idx)
|
||||
s = format("[%p]", k)
|
||||
if s == "[0x00000000]" then s = "NULL" end
|
||||
end
|
||||
elseif t == 21 then -- int64_t
|
||||
s = sub(tostring(k), 1, -3)
|
||||
if sub(s, 1, 1) ~= "-" then s = "+"..s end
|
||||
else
|
||||
s = tostring(k) -- For primitives.
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user