From d8e6f911090ec0020f34e094005284b5c8ac1e7f Mon Sep 17 00:00:00 2001 From: Space Meyer Date: Sat, 30 Jul 2022 12:16:05 +0000 Subject: pkg/bisect: support clang for crash bisection Before we hardcoded bisection to use gcc, now the compiler family can be configured in the bisection config. --- pkg/vcs/vcs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/vcs/vcs.go') diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index ae7bc8508..4e42b04a0 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -78,11 +78,11 @@ type Bisecter interface { // PreviousReleaseTags returns list of preceding release tags that are reachable from the given commit. // If the commit itself has a release tag, this tag is not included. - PreviousReleaseTags(commit string) ([]string, error) + PreviousReleaseTags(commit, bisectCompiler string) ([]string, error) IsRelease(commit string) (bool, error) - EnvForCommit(binDir, commit string, kernelConfig []byte) (*BisectEnv, error) + EnvForCommit(bisectCompiler, binDir, commit string, kernelConfig []byte) (*BisectEnv, error) } type ConfigMinimizer interface { -- cgit mrf-deployment