equal
deleted
inserted
replaced
701 except ImportError: |
701 except ImportError: |
702 return False |
702 return False |
703 |
703 |
704 @check("clang-libfuzzer", "clang new enough to include libfuzzer") |
704 @check("clang-libfuzzer", "clang new enough to include libfuzzer") |
705 def has_clang_libfuzzer(): |
705 def has_clang_libfuzzer(): |
706 mat = matchoutput('clang --version', 'clang version (\d)') |
706 mat = matchoutput('clang --version', b'clang version (\d)') |
707 if mat: |
707 if mat: |
708 # libfuzzer is new in clang 6 |
708 # libfuzzer is new in clang 6 |
709 return int(mat.group(1)) > 5 |
709 return int(mat.group(1)) > 5 |
710 return False |
710 return False |