aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorHenry Linjamäki <henry.linjamaki@gmail.com>2024-05-31 13:21:21 +0300
committerGitHub <noreply@github.com>2024-05-31 12:21:21 +0200
commita65771fce4a2f25f16d4b3918ad6a11370637f7b (patch)
treedb27e01c74c95b8c6806e1e0f503a1d5619e7bba /llvm/lib/Object/ELFObjectFile.cpp
parentc8fad4fb88b3c9cd7c4d0cf872273b44a879526f (diff)
downloadllvm-a65771fce4a2f25f16d4b3918ad6a11370637f7b.zip
llvm-a65771fce4a2f25f16d4b3918ad6a11370637f7b.tar.gz
llvm-a65771fce4a2f25f16d4b3918ad6a11370637f7b.tar.bz2
[SPIR-V] Prefer llvm-spirv-<LLVM_VERSION_MAJOR> tool (#77897)
Prefer using `llvm-spirv-<LLVM_VERSION_MAJOR>` tool (i.e. `llvm-spirv-18`) over plain `llvm-spirv`. If the versioned tool is not found in PATH, fall back to use the plain `llvm-spirv`. An issue with the using `llvm-spirv` is that the one found in PATH might be compiled against older LLVM version which could lead to crashes or obscure bugs. For example, `llvm-spirv` distributed by Ubuntu links against different LLVM version depending on the Ubuntu release (LLVM-10 in 20.04LTS, LLVM-13 in 22.04LTS).
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions