llvmpipe: improvements to JIT assembly dump
Fix disassembly off-by-one instruction bug, add Aarch64 support, add addresses to symbol names, cleanup iostream usage. Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30626>
This commit is contained in:
@@ -104,7 +104,7 @@ def lookupMap(filename, matchSymbol):
|
||||
|
||||
def lookupAsm(filename, desiredFunction):
|
||||
stream = open(filename + '.asm', 'rt')
|
||||
while stream.readline() != desiredFunction + ':\n':
|
||||
while not stream.readline().startswith(desiredFunction + ' '):
|
||||
pass
|
||||
|
||||
asm = []
|
||||
|
Reference in New Issue
Block a user