aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/vcs.go
diff options
context:
space:
mode:
authorSpace Meyer <spm@google.com>2022-09-13 15:24:23 +0000
committerSpace Meyer <git@the-space.agency>2022-10-07 11:11:53 +0200
commit79a5963585ac032cd3f390a37b5d276f7f9d0b5c (patch)
tree593a2ad8c17be76a25b04654429f1604a565a0a2 /pkg/vcs/vcs.go
parent8a2121976b8020f2006c1a953766af912ba709dd (diff)
pkg/bisect: use default compiler during bisection where possible
This allows us to bisect at least recently introduced bugs, where the manager that found the bug uses a non standard compiler. This is usefull during development of a new sanitizer for which a compiler with non-upstreamed patches is required.
Diffstat (limited to 'pkg/vcs/vcs.go')
-rw-r--r--pkg/vcs/vcs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go
index 50e45252e..4b4f26e06 100644
--- a/pkg/vcs/vcs.go
+++ b/pkg/vcs/vcs.go
@@ -79,11 +79,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, bisectCompiler string) ([]string, error)
+ PreviousReleaseTags(commit, compilerType string) ([]string, error)
IsRelease(commit string) (bool, error)
- EnvForCommit(bisectCompiler, binDir, commit string, kernelConfig []byte) (*BisectEnv, error)
+ EnvForCommit(defaultCompiler, compilerType, binDir, commit string, kernelConfig []byte) (*BisectEnv, error)
}
type ConfigMinimizer interface {