mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-07 00:06:06 +00:00

join is only available since python-3.8, but the all the interesting magic happens in shlex.quote, which has been around since 3.3. Use shlex.quote, and instead provide a home-grown helper function to handle the joining. Differential Revision: https://reviews.llvm.org/D112802