diff options
| author | Space Meyer <meyerpatrick@google.com> | 2022-07-30 12:16:05 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-09-01 10:42:40 +0200 |
| commit | d8e6f911090ec0020f34e094005284b5c8ac1e7f (patch) | |
| tree | a66996629b5aa75ac0a06a58af547dafa73f94a7 /pkg/vcs/vcs.go | |
| parent | 3f79a9101d6ae91acf7edde3727992988bb01ae1 (diff) | |
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.
Diffstat (limited to 'pkg/vcs/vcs.go')
| -rw-r--r-- | pkg/vcs/vcs.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
