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/testos.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/vcs/testos.go') diff --git a/pkg/vcs/testos.go b/pkg/vcs/testos.go index baadb1a2a..0053a528e 100644 --- a/pkg/vcs/testos.go +++ b/pkg/vcs/testos.go @@ -22,11 +22,11 @@ func newTestos(dir string, opts []RepoOpt) *testos { } } -func (ctx *testos) PreviousReleaseTags(commit string) ([]string, error) { +func (ctx *testos) PreviousReleaseTags(commit, bisectCompiler string) ([]string, error) { return ctx.git.previousReleaseTags(commit, false, false, false) } -func (ctx *testos) EnvForCommit(binDir, commit string, kernelConfig []byte) (*BisectEnv, error) { +func (ctx *testos) EnvForCommit(bisectCompiler, binDir, commit string, kernelConfig []byte) (*BisectEnv, error) { return &BisectEnv{KernelConfig: kernelConfig}, nil } -- cgit mrf-deployment