freedreno/ir3: Add build id to the disassembler test

This is required (at least for me on x86) to get the tool to pass it's
own test, otherwise it fails the build_id assertion.

Fixes: 1462b00391
       ("freedreno/ir3: Add a unit test for our disassembler.")

Acked-by: Rob Clark <robclark@freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12084>
(cherry picked from commit 097cf3952b)
This commit is contained in:
Dylan Baker 2021-07-27 12:01:36 -07:00 committed by Eric Engestrom
parent afcf656b45
commit 6a03a4db5b
2 changed files with 2 additions and 1 deletions

View file

@ -1777,7 +1777,7 @@
"description": "freedreno/ir3: Add build id to the disassembler test",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "1462b00391711ff86350e802c1a3e5075a3a1632"
},

View file

@ -121,6 +121,7 @@ test('ir3_disasm',
executable(
'ir3_disasm',
'tests/disasm.c',
link_args : [ld_args_build_id],
link_with: [libfreedreno_ir3, libir3decode],
dependencies: [idep_mesautil, idep_nir],
include_directories: [inc_freedreno, inc_include, inc_src, inc_gallium],