1# -*- coding: utf-8 -*- 2# Copyright 2020 The ChromiumOS Authors 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 12 13import os 14import sys 15 16 17def Main(): 18 if not os.path.exists("./is_setup"): 19 return 1 20 print( 21 "No support for -opt-bisect-limit or -print-debug-counter.", 22 file=sys.stderr, 23 ) 24 return 0 25 26 27if __name__ == "__main__": 28 retval = Main() 29 sys.exit(retval) 30