Mesa (main): freedreno/ir3: Add build id to the disassembler test
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 28 21:43:00 UTC 2021
Module: Mesa
Branch: main
Commit: 097cf3952bff22e7132ab4eb804f4ea14d61a8d4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=097cf3952bff22e7132ab4eb804f4ea14d61a8d4
Author: Dylan Baker <dylan.c.baker at intel.com>
Date: Tue Jul 27 12:01:36 2021 -0700
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 <robclark at freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12084>
---
src/freedreno/ir3/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/freedreno/ir3/meson.build b/src/freedreno/ir3/meson.build
index 7bff85fe437..1bf9847ad95 100644
--- a/src/freedreno/ir3/meson.build
+++ b/src/freedreno/ir3/meson.build
@@ -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],
More information about the mesa-commit
mailing list