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>
This commit is contained in:
Dylan Baker 2021-07-27 12:01:36 -07:00 committed by Marge Bot
parent 5ff0f4a901
commit 097cf3952b
1 changed files with 1 additions and 0 deletions

View File

@ -128,6 +128,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],