radeonsi: correctly parse disassembly with labels
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 18 Jan 2018 15:05:21 +0000 (16:05 +0100)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 11 Apr 2018 10:44:30 +0000 (12:44 +0200)
commit41e6ffee49832c57b3821e4b63e0245db7b115f9
tree9909f223dde494991cf1b3a6d07601264afc61d7
parent0630e52c9eba4af9b1e96705248bad03a0cb951e
radeonsi: correctly parse disassembly with labels

LLVM now emits labels as part of the disassembly string, which is very
useful but breaks the old parsing approach.

Use the semicolon to detect the boundary of instructions instead of going
by line breaks.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_debug.c