diff --git a/debian/patches/python3-shebang.patch b/debian/patches/python3-shebang.patch index fa065a44..31491534 100644 --- a/debian/patches/python3-shebang.patch +++ b/debian/patches/python3-shebang.patch @@ -1,799 +1,789 @@ Description: change all shebangs to Python3 find . -name "*.py" -exec sed "s|\!/usr/bin/env python$|\!/usr/bin/env python3|g" -i {} \; -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/run-find-all-symbols.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # =- run-find-all-symbols.py - Parallel find-all-symbols runner -*- python -*-=# # -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # ===- clang-tidy-diff.py - ClangTidy Diff Checker -----------*- python -*--===# # -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/bindings/python/examples/cindex/cindex-dump.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/bindings/python/examples/cindex/cindex-dump.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/bindings/python/examples/cindex/cindex-dump.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/bindings/python/examples/cindex/cindex-dump.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/bindings/python/examples/cindex/cindex-dump.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/bindings/python/examples/cindex/cindex-dump.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # ===- cindex-dump.py - cindex/Python Source Dump -------------*- python -*--===# # -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/bindings/python/examples/cindex/cindex-includes.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/bindings/python/examples/cindex/cindex-includes.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/bindings/python/examples/cindex/cindex-includes.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/bindings/python/examples/cindex/cindex-includes.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/bindings/python/examples/cindex/cindex-includes.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/bindings/python/examples/cindex/cindex-includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # ===- cindex-includes.py - cindex/Python Inclusion Graph -----*- python -*--===# # -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/scan-view/bin/scan-view +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/tools/scan-view/bin/scan-view =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/tools/scan-view/bin/scan-view -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/scan-view/bin/scan-view +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/tools/scan-view/bin/scan-view ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/tools/scan-view/bin/scan-view @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/scan-view/share/startfile.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/tools/scan-view/share/startfile.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/tools/scan-view/share/startfile.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/tools/scan-view/share/startfile.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/tools/scan-view/share/startfile.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/tools/scan-view/share/startfile.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/ABITest/ABITestGen.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/ABITest/ABITestGen.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/ABITest/ABITestGen.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/ABITest/ABITestGen.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/ABITest/ABITestGen.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/ABITest/ABITestGen.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/CIndex/completion_logger_server.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/CIndex/completion_logger_server.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/CIndex/completion_logger_server.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/CIndex/completion_logger_server.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/CIndex/completion_logger_server.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/CIndex/completion_logger_server.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/CaptureCmd +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/CaptureCmd =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/CaptureCmd -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/CaptureCmd +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/CaptureCmd ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/CaptureCmd @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/CmpDriver +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/CmpDriver =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/CmpDriver -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/CmpDriver +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/CmpDriver ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/CmpDriver @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/FindSpecRefs +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/FindSpecRefs =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/FindSpecRefs -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/FindSpecRefs +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/FindSpecRefs ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/FindSpecRefs @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import re -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/FuzzTest +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/FuzzTest =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/FuzzTest -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/FuzzTest +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/FuzzTest ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/FuzzTest @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/TestUtils/deep-stack.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/TestUtils/deep-stack.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/TestUtils/deep-stack.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/TestUtils/deep-stack.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/TestUtils/deep-stack.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/TestUtils/deep-stack.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import absolute_import, division, print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/CmpRuns.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/CmpRuns.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/analyzer/CmpRuns.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/CmpRuns.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/analyzer/CmpRuns.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/CmpRuns.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SATestAdd.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SATestAdd.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/analyzer/SATestAdd.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SATestAdd.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/analyzer/SATestAdd.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SATestAdd.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Static Analyzer qualification infrastructure: adding a new project to -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SATestBuild.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SATestBuild.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/analyzer/SATestBuild.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SATestBuild.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/analyzer/SATestBuild.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SATestBuild.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Static Analyzer qualification infrastructure. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SATestUpdateDiffs.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SATestUpdateDiffs.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/analyzer/SATestUpdateDiffs.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SATestUpdateDiffs.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/analyzer/SATestUpdateDiffs.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SATestUpdateDiffs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Update reference results for static analyzer. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SumTimerInfo.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SumTimerInfo.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/analyzer/SumTimerInfo.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/SumTimerInfo.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/analyzer/SumTimerInfo.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/SumTimerInfo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Script to Summarize statistics in the scan-build output. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/exploded-graph-rewriter.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/exploded-graph-rewriter.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/analyzer/exploded-graph-rewriter.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/analyzer/exploded-graph-rewriter.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/analyzer/exploded-graph-rewriter.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/analyzer/exploded-graph-rewriter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # ===- exploded-graph-rewriter.py - ExplodedGraph dump tool -----*- python -*--# # -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/check_cfc/check_cfc.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/check_cfc/check_cfc.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/check_cfc/check_cfc.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/check_cfc/check_cfc.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/check_cfc/check_cfc.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/check_cfc/check_cfc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Check CFC - Check Compile Flow Consistency -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/check_cfc/obj_diff.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/check_cfc/obj_diff.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/check_cfc/obj_diff.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/check_cfc/obj_diff.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/check_cfc/obj_diff.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/check_cfc/obj_diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import absolute_import, division, print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/check_cfc/test_check_cfc.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/check_cfc/test_check_cfc.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/check_cfc/test_check_cfc.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/check_cfc/test_check_cfc.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/check_cfc/test_check_cfc.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/check_cfc/test_check_cfc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Test internal functions within check_cfc.py.""" -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/modfuzz.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/modfuzz.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/modfuzz.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/modfuzz.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/modfuzz.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/modfuzz.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/token-delta.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/token-delta.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/utils/token-delta.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/utils/token-delta.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/utils/token-delta.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/utils/token-delta.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import absolute_import, division, print_function import os -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/asan/scripts/asan_symbolize.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/asan/scripts/asan_symbolize.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/compiler-rt/lib/asan/scripts/asan_symbolize.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/asan/scripts/asan_symbolize.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/compiler-rt/lib/asan/scripts/asan_symbolize.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/asan/scripts/asan_symbolize.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 - #===- lib/asan/scripts/asan_symbolize.py -----------------------------------===# + # ===- lib/asan/scripts/asan_symbolize.py -----------------------------------===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 - #===- lib/fuzzer/scripts/unbalanced_allocs.py ------------------------------===# + # ===- lib/fuzzer/scripts/unbalanced_allocs.py ------------------------------===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 - #===- lib/sanitizer_common/scripts/gen_dynamic_list.py ---------------------===# + # ===- lib/sanitizer_common/scripts/gen_dynamic_list.py ---------------------===# # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/sanitizer_common/scripts/sancov.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/sanitizer_common/scripts/sancov.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/compiler-rt/lib/sanitizer_common/scripts/sancov.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/compiler-rt/lib/sanitizer_common/scripts/sancov.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/compiler-rt/lib/sanitizer_common/scripts/sancov.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/compiler-rt/lib/sanitizer_common/scripts/sancov.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libcxx/utils/cat_files.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/libcxx/utils/cat_files.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/libcxx/utils/cat_files.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libcxx/utils/cat_files.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/libcxx/utils/cat_files.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/libcxx/utils/cat_files.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libcxx/utils/generate_feature_test_macro_components.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/libcxx/utils/generate_feature_test_macro_components.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/libcxx/utils/generate_feature_test_macro_components.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libcxx/utils/generate_feature_test_macro_components.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/libcxx/utils/generate_feature_test_macro_components.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/libcxx/utils/generate_feature_test_macro_components.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os from builtins import range -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libcxx/utils/sym_diff.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lld/utils/benchmark.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/libcxx/utils/sym_diff.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/libcxx/utils/sym_diff.py -@@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lld/utils/benchmark.py -=================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lld/utils/benchmark.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lld/utils/benchmark.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lld/utils/benchmark.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lld/utils/benchmark.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/examples/python/file_extract.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/examples/python/file_extract.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/examples/python/file_extract.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/examples/python/file_extract.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/examples/python/file_extract.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/examples/python/file_extract.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import string import struct -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/packages/Python/lldbsuite/test/bench.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/packages/Python/lldbsuite/test/bench.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/packages/Python/lldbsuite/test/bench.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/packages/Python/lldbsuite/test/bench.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/packages/Python/lldbsuite/test/bench.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/packages/Python/lldbsuite/test/bench.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import binascii import json -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/scripts/analyze-project-deps.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/scripts/analyze-project-deps.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/scripts/analyze-project-deps.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/scripts/analyze-project-deps.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/scripts/analyze-project-deps.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/scripts/analyze-project-deps.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import itertools -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/scripts/verify_api.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/scripts/verify_api.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/scripts/verify_api.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/scripts/verify_api.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/scripts/verify_api.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/scripts/verify_api.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import subprocess import optparse -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/third_party/Python/module/pexpect-4.6/pexpect/FSM.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/utils/lui/lui.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/utils/lui/lui.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/utils/lui/lui.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/utils/lui/lui.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/utils/lui/lui.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/utils/lui/lui.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/utils/lui/sandbox.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/utils/lui/sandbox.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lldb/utils/lui/sandbox.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lldb/utils/lui/sandbox.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lldb/utils/lui/sandbox.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lldb/utils/lui/sandbox.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/test/BugPoint/compile-custom.ll.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/test/BugPoint/compile-custom.ll.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/test/BugPoint/compile-custom.ll.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/test/BugPoint/compile-custom.ll.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/test/BugPoint/compile-custom.ll.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/test/BugPoint/compile-custom.ll.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/test/Other/opt-bisect-helper.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/test/Other/opt-bisect-helper.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/test/Other/opt-bisect-helper.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/test/Other/opt-bisect-helper.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/test/Other/opt-bisect-helper.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/test/Other/opt-bisect-helper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/test/TableGen/JSON-check.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/test/TableGen/JSON-check.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/test/TableGen/JSON-check.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/test/TableGen/JSON-check.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/test/TableGen/JSON-check.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/test/TableGen/JSON-check.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import subprocess -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/opt-diff.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/opt-diff.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/tools/opt-viewer/opt-diff.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/opt-diff.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/tools/opt-viewer/opt-diff.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/opt-diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/opt-stats.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/opt-stats.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/tools/opt-viewer/opt-stats.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/opt-stats.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/tools/opt-viewer/opt-stats.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/opt-stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/opt-viewer.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/opt-viewer.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/tools/opt-viewer/opt-viewer.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/opt-viewer.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/tools/opt-viewer/opt-viewer.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/opt-viewer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/optrecord.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/optrecord.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/tools/opt-viewer/optrecord.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/tools/opt-viewer/optrecord.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/tools/opt-viewer/optrecord.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/tools/opt-viewer/optrecord.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/Misc/zkill +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/Misc/zkill =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/Misc/zkill -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/Misc/zkill +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/Misc/zkill ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/Misc/zkill @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import re -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/abtest.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/abtest.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/abtest.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/abtest.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/abtest.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/abtest.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/bisect +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/bisect =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/bisect -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/bisect +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/bisect ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/bisect @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/bisect-skip-count +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/bisect-skip-count =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/bisect-skip-count -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/bisect-skip-count +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/bisect-skip-count ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/bisect-skip-count @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/bugpoint_gisel_reducer.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/bugpoint_gisel_reducer.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/bugpoint_gisel_reducer.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/bugpoint_gisel_reducer.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/bugpoint_gisel_reducer.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/bugpoint_gisel_reducer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Reduces GlobalISel failures. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/clang-parse-diagnostics-file +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/clang-parse-diagnostics-file =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/clang-parse-diagnostics-file -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/clang-parse-diagnostics-file +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/clang-parse-diagnostics-file ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/clang-parse-diagnostics-file @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import plistlib -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/create_ladder_graph.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/create_ladder_graph.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/create_ladder_graph.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/create_ladder_graph.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/create_ladder_graph.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/create_ladder_graph.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/extract_symbols.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/extract_symbols.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/extract_symbols.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/extract_symbols.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/extract_symbols.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/extract_symbols.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """A tool for extracting a list of symbols to export -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/extract_vplan.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/extract_vplan.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/extract_vplan.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/extract_vplan.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/extract_vplan.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/extract_vplan.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/indirect_calls.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/indirect_calls.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/indirect_calls.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/indirect_calls.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/indirect_calls.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/indirect_calls.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/lit/ProgressBar.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/lit/ProgressBar.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/lit/ProgressBar.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/lit/ProgressBar.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/lit/ProgressBar.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/lit/ProgressBar.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import os -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import platform -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/llvm-gisel-cov.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/llvm-gisel-cov.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/llvm-gisel-cov.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/llvm-gisel-cov.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/llvm-gisel-cov.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/llvm-gisel-cov.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Summarize the information in the given coverage files. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/prepare-code-coverage-artifact.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/prepare-code-coverage-artifact.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/prepare-code-coverage-artifact.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/prepare-code-coverage-artifact.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/prepare-code-coverage-artifact.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/prepare-code-coverage-artifact.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/release/findRegressions-nightly.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/release/findRegressions-nightly.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/release/findRegressions-nightly.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/release/findRegressions-nightly.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/release/findRegressions-nightly.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/release/findRegressions-nightly.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import re, string, sys, os, time -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/release/findRegressions-simple.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/release/findRegressions-simple.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/release/findRegressions-simple.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/release/findRegressions-simple.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/release/findRegressions-simple.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/release/findRegressions-simple.py @@ -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: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/shuffle_fuzz.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/shuffle_fuzz.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/shuffle_fuzz.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/shuffle_fuzz.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/shuffle_fuzz.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/shuffle_fuzz.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """A shuffle vector fuzz tester. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/shuffle_select_fuzz_tester.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/shuffle_select_fuzz_tester.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/shuffle_select_fuzz_tester.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/shuffle_select_fuzz_tester.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/shuffle_select_fuzz_tester.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/shuffle_select_fuzz_tester.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """A shuffle-select vector fuzz tester. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/sort_includes.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/sort_includes.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/sort_includes.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/sort_includes.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/sort_includes.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/sort_includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Script to sort the top-most block of #include lines. -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/unicode-case-fold.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/unicode-case-fold.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/unicode-case-fold.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/unicode-case-fold.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/unicode-case-fold.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/unicode-case-fold.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Unicode case folding database conversion utility -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/wciia.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/wciia.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/utils/wciia.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/utils/wciia.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/utils/wciia.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/utils/wciia.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 diff --git a/debian/patches/revert-update-doc.diff b/debian/patches/revert-update-doc.diff index 77b6d573..78cb249f 100644 --- a/debian/patches/revert-update-doc.diff +++ b/debian/patches/revert-update-doc.diff @@ -15,10 +15,10 @@ Date: Tue Feb 1 23:13:01 2022 -0800 Differential Revision: https://reviews.llvm.org/D112181 -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extra/docs/conf.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang-tools-extra/docs/conf.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang-tools-extra/docs/conf.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extra/docs/conf.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang-tools-extra/docs/conf.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang-tools-extra/docs/conf.py @@ -44,6 +44,15 @@ master_doc = "index" project = "Extra Clang Tools" copyright = "2007-%d, The Clang Team" % date.today().year @@ -47,10 +47,10 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang-tools-extr # -- Options for HTML output --------------------------------------------------- -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/docs/conf.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/docs/conf.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/clang/docs/conf.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/docs/conf.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/clang/docs/conf.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/clang/docs/conf.py @@ -63,6 +63,15 @@ master_doc = "index" project = "Clang" copyright = "2007-%d, The Clang Team" % date.today().year @@ -79,13 +79,13 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/clang/docs/conf. # -- Options for HTML output --------------------------------------------------- -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lld/docs/conf.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lld/docs/conf.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/lld/docs/conf.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lld/docs/conf.py -@@ -43,6 +43,15 @@ master_doc = 'index' - project = u'lld' - copyright = u'2011-%d, LLVM Project' % date.today().year +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/lld/docs/conf.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/lld/docs/conf.py +@@ -43,6 +43,15 @@ master_doc = "index" + project = "lld" + copyright = "2011-%d, LLVM Project" % date.today().year +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the @@ -98,11 +98,11 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/lld/docs/conf.py + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. - #language = None -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/cmake/modules/AddSphinxTarget.cmake + # language = None +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/cmake/modules/AddSphinxTarget.cmake =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/cmake/modules/AddSphinxTarget.cmake -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/cmake/modules/AddSphinxTarget.cmake +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/cmake/modules/AddSphinxTarget.cmake ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/cmake/modules/AddSphinxTarget.cmake @@ -39,10 +39,6 @@ function (add_sphinx_target builder proj set(ARG_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") endif() @@ -124,10 +124,10 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/cmake/modul ${SPHINX_WARNINGS_AS_ERRORS_FLAG} # Treat warnings as errors if requested "${ARG_SOURCE_DIR}" # Source "${SPHINX_BUILD_DIR}" # Output -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/docs/conf.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/docs/conf.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/llvm/docs/conf.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/docs/conf.py +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/llvm/docs/conf.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/llvm/docs/conf.py @@ -62,6 +62,15 @@ master_doc = "index" project = "LLVM" copyright = "2003-%d, LLVM Project" % date.today().year @@ -144,13 +144,13 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/llvm/docs/conf.p # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # language = None -Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/polly/docs/conf.py +Index: llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/polly/docs/conf.py =================================================================== ---- llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79.orig/polly/docs/conf.py -+++ llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/polly/docs/conf.py -@@ -44,6 +44,15 @@ master_doc = 'index' - project = u'Polly' - copyright = u'2010-%d, The Polly Team' % date.today().year +--- llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e.orig/polly/docs/conf.py ++++ llvm-toolchain-snapshot_17~++20230526082102+a22ef958cb7e/polly/docs/conf.py +@@ -44,6 +44,15 @@ master_doc = "index" + project = "Polly" + copyright = "2010-%d, The Polly Team" % date.today().year +# The version info for the project you're documenting, acts as replacement for +# |version| and |release|, also used in various other places throughout the @@ -163,10 +163,10 @@ Index: llvm-toolchain-snapshot_17~++20230523093327+96a003b9bf79/polly/docs/conf. + # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. - #language = None -@@ -78,11 +87,6 @@ pygments_style = 'friendly' + # language = None +@@ -78,11 +87,6 @@ pygments_style = "friendly" # A list of ignored prefixes for module index sorting. - #modindex_common_prefix = [] + # modindex_common_prefix = [] -in_progress_title = "(In-Progress) " if tags.has("PreRelease") else "" -