From c19d1a7e579787ee9670f4ba4a0079df0a68c02a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20B=C3=B6hm?= Date: Tue, 26 Nov 2024 13:54:00 +0100 Subject: [PATCH] wllvm: add -b flag to extract-bc call This is flag is required to create a bitcode module even if the input to extract-bc is an archive. --- varats-core/varats/experiment/wllvm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varats-core/varats/experiment/wllvm.py b/varats-core/varats/experiment/wllvm.py index 9b944341b..214212159 100644 --- a/varats-core/varats/experiment/wllvm.py +++ b/varats-core/varats/experiment/wllvm.py @@ -219,9 +219,9 @@ def extract(self) -> actions.StepResult: target_binary = Path(self.project.source_of_primary) / binary.path if is_gllvm_available(): from benchbuild.utils.cmd import get_bc - get_bc(target_binary) + get_bc("-b", target_binary) else: - extract_bc(target_binary) + extract_bc("-b", target_binary) cp(str(target_binary) + ".bc", local.path() / bc_cache_file) return actions.StepResult.OK