[all-commits] [llvm/llvm-project] 21ca46: [compiler-rt][ASAN] Replace find_executable with s...
David Spickett via All-commits
all-commits at lists.llvm.org
Wed Apr 19 02:19:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21ca46c1aa51253856fcff30c0dbc7b0b40d1a1c
https://github.com/llvm/llvm-project/commit/21ca46c1aa51253856fcff30c0dbc7b0b40d1a1c
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-04-19 (Wed, 19 Apr 2023)
Changed paths:
M compiler-rt/lib/asan/scripts/asan_symbolize.py
Log Message:
-----------
[compiler-rt][ASAN] Replace find_executable with shtuil.which in script
distutils is deprecated and shutil.which is the suggested
replacement for this function.
https://peps.python.org/pep-0632/#migration-advice
https://docs.python.org/3/library/shutil.html#shutil.which
which was added in 3.3 (https://docs.python.org/3/library/shutil.html#shutil.which)
and LLVM requires at least 3.6 (https://llvm.org/docs/GettingStarted.html#software).
Reviewed By: delcypher, vitalybuka
Differential Revision: https://reviews.llvm.org/D148528
More information about the All-commits
mailing list