1# -*- coding: utf-8 -*-
2# Copyright 2020 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6"""Command script without compiler support for pass level bisection.
7
8This script generates a pseudo log when certain bisecting flags are not
9supported by compiler.
10"""
11
12from __future__ import print_function
13
14import os
15import sys
16
17
18def Main():
19  if not os.path.exists('./is_setup'):
20    return 1
21  print(
22      'No support for -opt-bisect-limit or -print-debug-counter.',
23      file=sys.stderr)
24  return 0
25
26
27if __name__ == '__main__':
28  retval = Main()
29  sys.exit(retval)
30