change all shebangs to Python3
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 22 Oct 2020 20:29:07 +0000 (21:29 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Thu, 22 Oct 2020 20:29:07 +0000 (21:29 +0100)
find . -name "*.py" -exec sed "s|\!/usr/bin/env python$|\!/usr/bin/env python3|g" -i {} \;
===================================================================

Gbp-Pq: Name python3-shebang.patch

141 files changed:
clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py
clang-tools-extra/clang-tidy/add_new_check.py
clang-tools-extra/clang-tidy/rename_check.py
clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
clang-tools-extra/clangd/include-mapping/cppreference_parser.py
clang-tools-extra/clangd/include-mapping/gen_std.py
clang-tools-extra/clangd/include-mapping/test.py
clang-tools-extra/test/clang-tidy/check_clang_tidy.py
clang/bindings/python/examples/cindex/cindex-dump.py
clang/bindings/python/examples/cindex/cindex-includes.py
clang/docs/tools/dump_ast_matchers.py
clang/docs/tools/dump_format_style.py
clang/test/AST/gen_ast_dump_json_test.py
clang/tools/clang-format/clang-format-diff.py
clang/tools/clang-format/git-clang-format
clang/tools/scan-build-py/bin/analyze-build
clang/tools/scan-build-py/bin/analyze-c++
clang/tools/scan-build-py/bin/analyze-cc
clang/tools/scan-build-py/bin/intercept-build
clang/tools/scan-build-py/bin/intercept-c++
clang/tools/scan-build-py/bin/intercept-cc
clang/tools/scan-build-py/bin/scan-build
clang/tools/scan-view/bin/scan-view
clang/tools/scan-view/share/Reporter.py
clang/tools/scan-view/share/startfile.py
clang/utils/ABITest/ABITestGen.py
clang/utils/CIndex/completion_logger_server.py
clang/utils/CaptureCmd
clang/utils/CmpDriver
clang/utils/FindSpecRefs
clang/utils/FuzzTest
clang/utils/TestUtils/deep-stack.py
clang/utils/analyzer/CmpRuns.py
clang/utils/analyzer/SATestAdd.py
clang/utils/analyzer/SATestBuild.py
clang/utils/analyzer/SATestUpdateDiffs.py
clang/utils/analyzer/SumTimerInfo.py
clang/utils/analyzer/exploded-graph-rewriter.py
clang/utils/check_cfc/check_cfc.py
clang/utils/check_cfc/obj_diff.py
clang/utils/check_cfc/test_check_cfc.py
clang/utils/creduce-clang-crash.py
clang/utils/hmaptool/hmaptool
clang/utils/modfuzz.py
clang/utils/token-delta.py
compiler-rt/lib/asan/scripts/asan_symbolize.py
compiler-rt/lib/dfsan/scripts/build-libc-list.py
compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py
compiler-rt/lib/sanitizer_common/scripts/cpplint.py
compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py
compiler-rt/lib/sanitizer_common/scripts/litlint.py
compiler-rt/lib/sanitizer_common/scripts/sancov.py
libcxx/utils/cat_files.py
libcxx/utils/generate_feature_test_macro_components.py
libcxx/utils/google-benchmark/mingw.py
libcxx/utils/google-benchmark/tools/compare.py
libcxx/utils/google-benchmark/tools/strip_asm.py
libcxx/utils/merge_archives.py
libcxx/utils/sym_diff.py
libcxx/utils/sym_extract.py
libcxx/utils/sym_match.py
lld/utils/benchmark.py
lldb/examples/python/file_extract.py
lldb/packages/Python/lldbsuite/test/bench.py
lldb/packages/Python/lldbsuite/test/issue_verification/disable.py
lldb/packages/Python/lldbsuite/test/issue_verification/enable.py
lldb/packages/Python/lldbsuite/test/redo.py
lldb/packages/Python/lldbsuite/test/test_runner/test/inferior.py
lldb/packages/Python/lldbsuite/test/test_runner/test/test_process_control.py
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
lldb/scripts/analyze-project-deps.py
lldb/scripts/verify_api.py
lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py
lldb/utils/lldb-dotest/lldb-dotest.in
lldb/utils/lui/lui.py
lldb/utils/lui/sandbox.py
lldb/utils/test/disasm.py
lldb/utils/test/lldb-disasm.py
lldb/utils/test/llvm-mc-shell.py
lldb/utils/test/ras.py
lldb/utils/test/run-dis.py
lldb/utils/test/run-until-faulted.py
llgo/third_party/gofrontend/libffi/generate-darwin-source-and-headers.py
llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py
llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py
llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py
llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py
llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py
llvm/runtimes/llvm-strip-link.in
llvm/test/BugPoint/compile-custom.ll.py
llvm/test/Other/opt-bisect-helper.py
llvm/test/TableGen/JSON-check.py
llvm/tools/opt-viewer/opt-diff.py
llvm/tools/opt-viewer/opt-stats.py
llvm/tools/opt-viewer/opt-viewer.py
llvm/tools/opt-viewer/optrecord.py
llvm/utils/Misc/zkill
llvm/utils/abtest.py
llvm/utils/benchmark/mingw.py
llvm/utils/benchmark/tools/compare.py
llvm/utils/benchmark/tools/strip_asm.py
llvm/utils/bisect
llvm/utils/bisect-skip-count
llvm/utils/bugpoint_gisel_reducer.py
llvm/utils/chunk-print-before-all.py
llvm/utils/clang-parse-diagnostics-file
llvm/utils/create_ladder_graph.py
llvm/utils/extract_symbols.py
llvm/utils/extract_vplan.py
llvm/utils/git-svn/git-llvm
llvm/utils/gn/build/run_tablegen.py
llvm/utils/gn/build/symlink_or_copy.py
llvm/utils/gn/build/sync_source_lists_from_cmake.py
llvm/utils/gn/build/write_cmake_config.py
llvm/utils/gn/build/write_vcsrevision.py
llvm/utils/gn/get.py
llvm/utils/gn/gn.py
llvm/utils/indirect_calls.py
llvm/utils/lit/lit.py
llvm/utils/lit/lit/ProgressBar.py
llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py
llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py
llvm/utils/lit/tests/Inputs/googletest-upstream-format/DummySubDir/OneTest.py
llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py
llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py
llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py
llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py
llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py
llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
llvm/utils/llvm-build/llvm-build
llvm/utils/llvm-gisel-cov.py
llvm/utils/llvm-lit/llvm-lit.in
llvm/utils/prepare-code-coverage-artifact.py
llvm/utils/release/findRegressions-nightly.py
llvm/utils/release/findRegressions-simple.py
llvm/utils/shuffle_fuzz.py
llvm/utils/shuffle_select_fuzz_tester.py
llvm/utils/sort_includes.py
llvm/utils/unicode-case-fold.py
llvm/utils/wciia.py

index 02b100bd849b8620c342987b38f0b0a6358f7e07..18f0600180416dc1c514f157d1f0b1c04cd3ff20 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #=- run-find-all-symbols.py - Parallel find-all-symbols runner -*- python  -*-=#
 #
index 4406efc1b0f522137e44f09513f6e460ae265234..7cec97895e75dd3a34825966224f1589aaee4a64 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- add_new_check.py - clang-tidy check generator ----------*- python -*--===#
 #
index d5f24073496c530d6d5cb8a7e5bbde3b22d86c43..da98ba2501e2a9ffedf9de099454deda91f7089a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- rename_check.py - clang-tidy check renamer -------------*- python -*--===#
 #
index 8b6ad90455769c8aadc6e979ff0ca658dc91df2d..f28207e123b036f6d1dd68d98f376c733f71b207 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- clang-tidy-diff.py - ClangTidy Diff Checker ------------*- python -*--===#
 #
index 827f6d5fedd93cedcd1effc2125db66dc119a095..f25ee467a5b9aeb0d5e09662d79cbe7e0b1340a8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- run-clang-tidy.py - Parallel clang-tidy runner ---------*- python -*--===#
 #
index fd3b8a6837d695ef30911500658a6a34f06556f4..a01edb4575db5272c4e63ee023c07ede62a32848 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- cppreference_parser.py -  ------------------------------*- python -*--===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 1cfe2c026b4b8933d7a274ee70d9129e1d4b473d..3fd8d6b3116e5af4b8023a167c1833fb2df7b75e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- gen_std.py -  ------------------------------------------*- python -*--===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 9fad952b2e97ce5209e0b429262c7433842a2b29..c4f117be4e452babb13f8cbc68d4bf0ea3b0cd94 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- test.py -  ---------------------------------------------*- python -*--===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 368b674d2d32748f9606a348df03c08830401655..77ab00601cd1523516ae32fded81491df4d251b7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- check_clang_tidy.py - ClangTidy Test Helper ------------*- python -*--===#
 #
index 46073b285cb36284e02c300f80a3eb6d29790a42..fc513c7eeaf68e24860e089c497914fe2943f309 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #===- cindex-dump.py - cindex/Python Source Dump -------------*- python -*--===#
 #
index ec1fbc0c3edb40651f927727cb3784f7ef019553..be60034262baa084c7c5b911b084d114740201ec 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #===- cindex-includes.py - cindex/Python Inclusion Graph -----*- python -*--===#
 #
index c96c1ca27acb67d2e148488924ec698011eaedb9..26cf41561e6933a2a2c8e4aa7bc5a711d0be7776 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # A tool to parse ASTMatchers.h and update the documentation in
 # ../LibASTMatchersReference.html automatically. Run from the
 # directory in which this file is located to update the docs.
index acb0dfcaf4a7eafaed4a899452d49d06a9ff1d3f..efc6342c3f6ec0959d5a2195521f08d39408c657 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # A tool to parse the FormatStyle struct from Format.h and update the
 # documentation in ../ClangFormatStyleOptions.rst automatically.
 # Run from the directory in which this file is located to update the docs.
index f783c79faef863c55528c9d09e7ba8f263f2d4f8..7043ade0f78f512eef90c85fe9d8e7a910bc0f87 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 from collections import OrderedDict
index bbca1a52f8ec2b7a14fd4efae7144e77d1afcbe3..5eace3f931c0e1c032d4ca9ccf88a47ab8dc38e4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===#
 #
index bf05d9143fa18da8f352e3f64df4291057e47603..43d096b8179d812b4ef33df9512b3a90ea840d2d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- git-clang-format - ClangFormat Git Integration ---------*- python -*--===#
 #
index 6c285874a2083b063ff1a3cd71f202c5caede05e..5b270d54e10a5c968d835a4d90607a074fb315f8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index 564e2abf554a39974c63d1ab56f5f43d339b5f48..b2b60a4406c52fa54dc3e8563eec2439a28f417a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index 564e2abf554a39974c63d1ab56f5f43d339b5f48..b2b60a4406c52fa54dc3e8563eec2439a28f417a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index 23f5104782ca7d9367f8d8553ce79584c20a516e..fe45c5457d1788071ba63fb8251d555f264a4a9d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index 4230c8035d22b651c823ecc41a9df0eaafa4c4ec..0cba3a3cd13e3e482b096b3036afc0bfd8b04b0d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index 4230c8035d22b651c823ecc41a9df0eaafa4c4ec..0cba3a3cd13e3e482b096b3036afc0bfd8b04b0d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index 156da064a2b476ac6154533b342c881184a11ef8..4fa08175eb18126a99c20054e477b56ba762dee3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index c2953890b47ae943732e91948da728ae75e4a22a..685cdd81e409c7366bca5b171b48199297c0f5c2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index b1ff16142e279cb480d1f2f73f8b211ca7970e1a..d6300e7876165e30d0588987b087ce67bc1d0ae5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 """Methods for reporting bugs."""
index 9eb548bc4329beef098652a93b6f7aff868b8ccd..cdf3db27939ab8e494e08a41ec0122d3f5a02ab8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 """Utility for opening a file using the default application in a cross-platform
index 93a6de93068d466b33174f58e6d343c7e11c2d9a..efb35fa73dcb6a85554387db9af678d74bbf8f5f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 from pprint import pprint
index 201667117fc2f96976d25b872915d990657f8472..02d7cd6fc8853ea7587eb183bb31111f288d7b35 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import absolute_import, division, print_function
 import sys
 from socket import *
index 705585c3bb041fd14c3b0c446c7fe2a86748022a..5ffdfe560edf0a3315825bc24d314e14709402ff 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """CaptureCmd - A generic tool for capturing information about the
 invocations of another program.
index 12ce7a3250f66b71d0c01b72cd58d2009b84c6ab..c2b6ab5ecb1aa51698ab029f0b3d52741da5e780 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 A simple utility that compares tool invocations and exit codes issued by
index 9097f93f28d631ddc418ecbddb2af82285aa91a4..3ad581b3dd7d1f9c28947ed49f7b62169fba889a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import re
index 0e043df7cf08e4e88d3e5f5fcce7835b59b73f26..c4c956b6eb501dd6f916766624e947e0b40e5b85 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This is a generic fuzz testing tool, see --help for more information.
index 10bf47acb1f777a5b048402d7447a0e7b7b94c79..5fb8d0df8ed15b927d15ba65827667ff32817816 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 def pcall(f, N):
index 3fab6ef520c42e05464947103268bd72aaf04538..9baa7a483fc5355be0c534337f45f8186c0d86dd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 CmpRuns - A simple tool for comparing two static analyzer runs to determine
index 52089f4e0660e5bbe271e9ea264b54b3193bf844..d087a90ba73572a2e28402231944c8c47d22d687 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Static Analyzer qualification infrastructure: adding a new project to
index 691ded80a1ef145086518bd64c30087b11d9cdcd..b17b3db16381b06fd4e6f1447528fcebd6a9c2af 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Static Analyzer qualification infrastructure.
index ea3c08cc210c423192081dc2b06bcb7b94ada4c8..08e3f82ffd1e0bafe2490e0437e8dceb138de741 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Update reference results for static analyzer.
index 36e519adbf71c482c7174ee101a94b3a07bda8ed..d1934f19d03936318b10620ac0824e5ab57306ca 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Script to Summarize statistics in the scan-build output.
index f47be59395a71108184a9d115687f8b71d4b7a92..08511254367d82220fc6e39d41fa6c22a6d66614 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- exploded-graph-rewriter.py - ExplodedGraph dump tool -----*- python -*--#
 #
index 311f502f800b3ce24e9c013893bbfeb113da47b3..0bbbc0886fab9a2b386666f515f1d4c76a6d5239 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Check CFC - Check Compile Flow Consistency
 
index a0951c5bcdee48989d9e55fa21e12d8ca233c32d..b3866948302765f8c94213da13fc77ccfe5802ab 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 
index 0808252a2c60c1244d400b1d13b605fec1ff2dd0..6f149ebcc7a41e57f3aa9a2024f99d84a04b4562 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Test internal functions within check_cfc.py."""
 
index b69d6efc248184c311a0f5c02a8893eb9e897880..d41f950e165e345f4df08b84ce71638040e0349d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Calls C-Reduce to create a minimal reproducer for clang crashes.
 
 Output files:
index 58baab2f7746c19a524d843843b1e813bbc1bc0a..00296f11a169756b86243fd609e05dd7633ccfaa 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import absolute_import, division, print_function
 
 import json
index 61ca3272aca561c04b27d982fb94ba8791f6e81b..19a9807b351445d61ed288fb9b3480f05edea80c 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # To use:
 #  1) Update the 'decls' list below with your fuzzing configuration.
index 62b4eb3c776c374d634a8ab977a4aa0b787b6b01..022fb2f8b58f976b5544cf4b1d6b21dce237a014 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 import os
index a196c075b039d37b917a9ecb8d4d8a7458fff5be..247f74ca09345ab4577af4e2e581fa61c9078104 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/asan/scripts/asan_symbolize.py -----------------------------------===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 40805c0191602e9a9f7d844607173ab3730bafbc..e1df01acafdee77f4e8bb03e70252e553eeb0392 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/dfsan/scripts/build-libc-list.py ---------------------------------===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 579e481a237ac76835b0e57cc595d711f6222cdf..c5d8d5b45ea6f1ef62bef8c1b514b09043b69bb5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/fuzzer/scripts/unbalanced_allocs.py ------------------------------===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 65baa6cc1603f6f0b0eb63f9df56e0bdb86306a8..a1d4cacdf53821648092be2ed5cac184918cae75 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2009 Google Inc. All rights reserved.
 #
index 6585a42dc81b867db69465a96b4f0aa705fd98f7..43f872faef9c27f205283ce6278480d411585143 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/sanitizer_common/scripts/gen_dynamic_list.py ---------------------===#
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 81b89c21443813149df6c278038d8b40b23cdf8c..dd8d3aba06c7df7e0859fe63631231b9a0774d00 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # litlint
 #
index 35606396b78e6f716e5484558d4f2d7c87b6c514..2a2876d461f0a703ebe23143622946f270679c32 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Merge or print the coverage data collected by asan's coverage.
 # Input files are sequences of 4-byte integers.
 # We need to merge these integers into a set and then
index ac4f3869669d9582abb436b24fa9ee0144c095ba..fc7432267fc553cb30bf70b21f75de7c7a76d7f3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index a6191a50899059b6fa484283f235d63b583bdfb0..47d7d11a7989a37bf3bf2cc3ba99b4b6170ab682 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import tempfile
index 706ad559db9c753fe02d24077600875684eb7682..4eb75ab864298a8ef8d212d5821977c1620bf727 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # encoding: utf-8
 
 import argparse
index 539ace6fb163b730eb0eccf1922a5d8e6c50a3ba..b1c0dedefa4ad152353d609a7801e635dabda645 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import unittest
 """
index 9030550b43bece88d41bac337e26004a109232d5..d131dc719414c45e10577570de5d3b41656a8fc3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 strip_asm.py - Cleanup ASM output for the specified file
index 4c31854d2b7e3588c9d97cba3c376c77eeb41c3e..db752240b3136ebf1a30f44d9438a39109e70c4b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 6bd1b57e0a492e5d5d08d8d4a66d73879776c29b..749519d4e0ad555eda7cbea8311f3b571973863e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 987c207c1e41257e3f319ec445bffd428d0f29bc..f1397b2529e234baa9700193c77ea632dd7accfe 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 1fd39ca5f83821fb49737c73861f43b37a247df1..b91ebfcf4423d2329f1d80dca9a448ae0f044773 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 47490b9a98289f22a14018a1e54884cf5a90f4cf..6eefa91b38c14047766f870e5d7c2dadfe0cdf2b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 # See https://llvm.org/LICENSE.txt for license information.
index decbba0b2997ca3f46222fcc0a120d5d14ae4a62..c1f2b98f1434836e30ee365792de867490e69ecc 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 import string
 import struct
index a9661b6d022529f308a03b30da5b26789850c6e6..576b89af98af0fadd54c77c5f196015eb61acc7c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 A simple bench runner which delegates to the ./dotest.py test driver to run the
index 6d1f93e8b15dd83a9fcce2061b27e8918bf695f7..c775474a95dc26e240cdcb5b6f1e54518641d959 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Renames *.py files to *.py.park."""
 import os
 import sys
index eb19276de1f7a8c260a3ceb42e702cd1364ca5b9..2b4eaefc3d494c498ce45cb4632fe836c75ceedd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Renames *.py.park files to *.py."""
 import os
 import sys
index 03052c3a08caf6941d5777eff68b434a31653f9c..642a5c2af87db2832f19e2711fda6d67494d1128 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 A simple utility to redo the failed/errored tests.
index 4207bac300fdb26d9d4062c2ccde766572528770..8d9639c4abd15b1854fb4f58bae46aa2b0959381 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Inferior program used by process control tests."""
 
 from __future__ import print_function
index b3b5aee68f0da821c9a19d39180abce9e59bd175..f65aa5b0d019377fb74580f1e1a4a0d54e28bdf0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 See https://llvm.org/LICENSE.txt for license information.
index 1110ad36c0fdcd4e760cca077089e3407d74d7e5..74163b11eddb0df14c290ea9ed63faab10d98ecf 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import binascii
 import json
index c6e3263a2f26a5242e2f3b187612c5ee7eb5b1d0..874223bf8a0a366f4dcf4670302579f665be2c31 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 import argparse
 import itertools
index d422cded8c2942b398d52dee0e20a7fc98bbada2..c9d8943b163e7b8e91b717307adf46901d1327e8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import subprocess
 import optparse
index 46b392ea08aaf53577b27c0552776ecc86d72510..4e77654ea4bbe613f640cbd258ac19921e2b3717 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''This module implements a Finite State Machine (FSM). In addition to state
 this FSM also maintains a user defined "memory". So this FSM can be used as a
index bab3f8baa98dde25a5286399611a933887c342be..8ddce490d9e133d9dc34f922dec5dfd5b7d76371 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import subprocess
 import sys
 
index 98e1c63ce4141ae6ad50f944952556fa7b8bda3c..7d1877bd08b2463b3d2be9ecbbf68d99389642a2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ##===-- lui.py -----------------------------------------------*- Python -*-===##
 ##
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 8bb4e3595f805a8893d5c881bd1b1d05dcdc3144..18c1405f930807766fa718e5e8ec70cc936e57ef 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ##===-- sandbox.py -------------------------------------------*- Python -*-===##
 ##
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
index 7d95d893747693bc9f683951dbcd0c3b497b5188..26025115a1f4b8ddc482571c4ea2be3b39e757d2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run gdb to disassemble a function, feed the bytes to 'llvm-mc -disassemble' command,
index 339e8e7cabae4fdc068feba3053f6866bab9252b..c684a75325bff7eb952646fd04502ba1f139163a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run lldb to disassemble all the available functions for an executable image.
index 6adaf5dd3c5f6d3801265b8f796e694aac08f83e..cfc2e63c6ccabfb6d67193f3d4ae93c00707e994 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run llvm-mc interactively.
index 1b7caecdb0fea790e406d5981873b90abd7977a9..ccd9504c31d9b613a4eb5f4d30eee02fb008a63e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run the test suite and send the result as an email message.
index 5df65e85ba1bb7a21fbc1fa4fd472072acbf2f9d..22c7fadc2c7d9d2ce132a56085e4a9e503c6322a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run lldb disassembler on all the binaries specified by a combination of root dir
index 0ce32771f75a171c67a882d0bb12c6244a527217..f0b209b24cb2362af49986ee4c85a3ccb4cd67bb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run a program via lldb until it fails.
index 306136fe44694b2bc224dcf2aedd6891a923b800..2b64c9ca226bf2cd8d46f3b71d9814ead4d314b7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import subprocess
 import os
 import errno
index 87bbfbf32bda3ab7e1956c3d50927c362da3faed..a6dd73e0ad44e136f3c02124acc0817c5c03f57c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 1aa80ee83ac4ca852a9dbaa1a0a5abe514636d00..bf1ca576fe4c461f7efea581413185f1dba95af9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index c3b4d23c002a15aee89144fbd69300fc4f0002cc..8c00172152ba3276e25ddb4ce7afad2d95b524df 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 61c9a5b169fcd86221837e5ebd73d700206230dd..08450018c02e62c90d9c36d5558d2a38dc08622d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 87bbfbf32bda3ab7e1956c3d50927c362da3faed..a6dd73e0ad44e136f3c02124acc0817c5c03f57c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index a7b8c567faf62a9297d570481d5ede53a0574c06..9e6a313ee789217ca1ec83291aa81350c96c1073 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 import os
index b0062ac0b74f30b53496a07af12809e0dbf99f64..1a37844c1167aabada17948bdd46ddb8296c7a1e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index d2ab4ce096f93991a329f3b5309b09b5d83d3d28..0484a9f0d4ff4834cda635d69e2b4cecb6179067 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index b6bc4ee6c909b15cf9c4ee5073114f592d56ee62..1082c655d721e9d63d297a43bf421f1ed4cde88f 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 import subprocess
index 36e81a5d569a746567776da4f1aa57cbd5fc8570..da8eeb385583a0578c81d05f1dea005652b0d73f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index f4ee3a7d44e63958dffc6ed7add97e5797a66f7c..0e185ff7219a6a481ed4e9af5e5ce146a2de4f91 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 4c105886cfdf274b38f5ed3ce6539516971585e9..c4619a6cb9156d5edd822fdaac74c6b6b772a245 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index f6fd772689a9c5479392a2c517ca0e56249a95d9..8c8f4c8c90ef0562675a9e0c03dd82943b9f33c6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index bc0bfd586f7a48d3621f34646a0561a97af56180..b2971423c6d9d5257b076b644e95b846b13582f4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import re
index 69a86f6482d13af2f19ad6c503ab72d3f1d532fc..8250c8c3f5e493a9bf353972228a15aaf48e9da1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Given a previous good compile narrow down miscompiles.
 # Expects two directories named "before" and "after" each containing a set of
index 706ad559db9c753fe02d24077600875684eb7682..4eb75ab864298a8ef8d212d5821977c1620bf727 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # encoding: utf-8
 
 import argparse
index f0a4455f5fb7cc9d96148758c640e4b27b81d3b3..9cfae85e6c39b9f336d814da642a734118efeb91 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 compare.py - versatile benchmark output compare tool
index 9030550b43bece88d41bac337e26004a109232d5..d131dc719414c45e10577570de5d3b41656a8fc3 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 strip_asm.py - Cleanup ASM output for the specified file
index 9df2cd9e1136bc9fedbf3c57f449854346d45d5e..adc7030738a7706d9e501f0fb316e2e8bdd894cf 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # The way you use this is you create a script that takes in as its first
 # argument a count. The script passes into LLVM the count via a command
index efdd2c937e1529656bee809f75053ef0228316a1..1a64eba381dc8aff1ddb9af8f3bb0d9f56a75716 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This script is used to bisect skip and count arguments for --debug-counter.
 # It is similar to bisect, except it understands how to increase skip and decrease count
 #
index 4c366efbba497b0808fb678a285c24ab4db5d6fc..5df1cbed12d8ba229399bfc0df4f248e49ea7804 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Reduces GlobalISel failures.
 
index ce17c68c742a2555449633f9ac62a3787c519583..0e14b9b2c045fb6a58aaf25ba2cdd1c39473a810 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Given a -print-before-all -print-module-scope log from an opt invocation,
 # chunk it into a series of individual IR files, one for each pass invocation.
 # If the log ends with an obvious stack trace, try to split off a separate
index 59b13f306505a8eca4859acdef2f85a5f33fcc08..2b28ada21019fb4c86b0658509ce66469e5bca37 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import plistlib
index a5946ff24af5ad850ced4270ae7a731ab2ed4e3a..a32e3a4175aac251bdefe29dc093105aeb353b18 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """A ladder graph creation program.
 
 This is a python program that creates c source code that will generate
index 7cdcce126ce2aeb95e500b9182819c917adf5ecd..90f7da2140fe6cdab280626e9a1f5561ef1fa600 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A tool for extracting a list of symbols to export
 
index b4e34fc76ba5e7967ef9af27051974bcf79e6355..c2a31f728f54929c10c8866db4dd2c2c6896447b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # This script extracts the VPlan digraphs from the vectoriser debug messages
 # and saves them in individual dot files (one for each plan). Optionally, and
index bc60e02aae39c225c9323e48975dfd146a67c082..fe57e90124f9d1f16e28b710c9be9e58dd99f519 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # ======- git-llvm - LLVM Git Help Integration ---------*- python -*--========#
 #
index c7694236be55f901262dce946a8e9f71238f8f02..71476d24273b92fe2d8be5a37174c2a81da66971 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Runs tablegen."""
 
 import subprocess
index a8f6c1b322beaaf88c69565d08082af5cf398929..d5fbf32c1a6decf7e88195874d9eb54ec77d54b3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Symlinks, or on Windows copies, an existing file to a second location.
 
index f4a9933e2327b3c908d5ad9f60ed419c6fb5bb15..1d9d75d6d3519852c90fd7e3b37ed05becddb33e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Helps to keep BUILD.gn files in sync with the corresponding CMakeLists.txt.
 
index d76d14b651078b15d5cca1708e473607e015401d..cdea027503e4aa2a472439645152ca0c52173ba5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 r"""Emulates the bits of CMake's configure_file() function needed in LLVM.
 
 The CMake build uses configure_file() for several things.  This emulates that
index 10fc293bd21b7a3122f5918d167a8f5c1c275854..af0c4465241046a58747a9405b8c3660c36b5ef6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Gets the current revision and writes it to VCSRevision.h."""
 
index c39649df78a42bf7ca5160a4e00e8a8a90723862..9f0973463c4c8b633f92e0070e16008ccc5cb19e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Downloads a prebuilt gn binary to a place where gn.py can find it."""
 
 from __future__ import print_function
index a6408ec065a359e62838e8ad7078f841ddb57ab8..08e3a19650552d4e020cffc92828be1e445d0aeb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Calls `gn` with the right --dotfile= and --root= arguments for LLVM."""
 
 # GN normally expects a file called '.gn' at the root of the repository.
index e460ff7d083620680a812120ba7c622b9bd9396f..66633886d07d630451209e8fcbdbd5dd3f62f950 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A tool for looking for indirect jumps and calls in x86 binaries.
 
index cbb91cead91368b8f8cc8318106bdf913b45d908..381228ea398779a0dd8b5031d0807245db14fd8a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from lit.main import main
 
index 0cf7b0c4ade4c515e49e3c4572147b06cf10f1f1..854a4d15fb1d7bd3857c53c7324b54b7863ff61b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Source: http://code.activestate.com/recipes/475116/, with
 # modifications by Daniel Dunbar.
index dd49f025b1f2e2e85de60b83251ce65e8e0ecff0..61230a1a97e042084c1af5395c13e52003d99b9e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index f3a90ff4cd675879a0d06d86d89dcce427ba451b..112039e03fcb2394d6bd25fd62a83ca0cf2c0af7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 import time
index af6127670b8b532678be62dfc684b137bca2f04e..8b801cfb7962c2564441d3fbc68e9514dda369ad 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 import os
index 2f7a2503b97625bb166b02da59036599f4d28e16..8cd890c550d28096496f09aafc4174a1e67c1a94 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import argparse
 import platform
index 467505b7f293f5bb00f65831da6da9574116a851..71a49cc83fc8a9caaff1c67468700dd064a5c47c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 9463251d823ab21766a3a816546b85c7000c4254..f5e78b157a5d4146722ed759afb6de394c2c2657 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index 357089d4899b5223370081e552e158c1aa957a31..56919479c79ac727db4c0e9a5d0d80c98f6821ad 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index 7377e3d3fed7f53893fcf2b74ebbda17e025310c..ac1463053bab93999399f6f1a41417fd03318ddc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import llvmbuild
 
index 820fceab0d02a1c0483cb548c7bf8ded87f33c13..744275e745a6ac067554fc5ecde81e21e8b37f63 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Summarize the information in the given coverage files.
 
index 8700d15677d9b5001d59ca85e840089cbcea9732..f49741973c49bafb48ac4d7259f2ba1c009e0c4e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 import os
index 5c4af242d0de56fab3f755b955b47adcada45170..26bb4ec70d33f66cab632e5959503c24a84c42b5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index e7e13b08381241b92ed3a8226418160571a0fff1..7543cb8060e0649d6aba82e3ed40e464bb4abc0b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import print_function
 
 import re, string, sys, os, time
index 7bd1523b58faa31c63fcfaaa6b1fbd1d51ae59e6..3eae2fffeadc1ad61a171fa045fc3c6754b8a0bc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 import re, string, sys, os, time, math
index 2d86cc0a28fa399f994e0436249b31c926d34087..54e7040fc6716d28971732dc4c0653e3590f9b5c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A shuffle vector fuzz tester.
 
index 6b2f94a693533db529c20c42ab71c553323b5b44..48b9724e4c273e64570fbda1682938fbec5db2ed 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A shuffle-select vector fuzz tester.
 
index 70bfdedfc6d32ad1572bae3c80a96e64955e1248..450cd0e920f86c5cba8df3dd65f8d4cacd146915 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Script to sort the top-most block of #include lines.
 
index ad8265ba7bc1b65846ce62c24048eeade70f45a6..7a8c5fdc9004eb55c4c5f7d68ccfeb434549418d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Unicode case folding database conversion utility
 
index 4269db2de46674535dec7386a20d5702f4a1b256..30c3846b83fe6c1766ab0e2d6c9d00f0b7e737a3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 wciia - Whose Code Is It Anyway