From 6a03a4db5be28399bd37386a8636a007d30f97bf Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 27 Jul 2021 12:01:36 -0700 Subject: [PATCH] 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: 1462b00391711ff86350e802c1a3e5075a3a1632 ("freedreno/ir3: Add a unit test for our disassembler.") Acked-by: Rob Clark Part-of: (cherry picked from commit 097cf3952bff22e7132ab4eb804f4ea14d61a8d4) --- .pick_status.json | 2 +- src/freedreno/ir3/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index cbaa1db961a..49886b81955 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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" }, diff --git a/src/freedreno/ir3/meson.build b/src/freedreno/ir3/meson.build index 534dd02b84d..76052680ffa 100644 --- a/src/freedreno/ir3/meson.build +++ b/src/freedreno/ir3/meson.build @@ -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],