aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2021-09-01 19:46:20 +0100
committerJon Chesterfield <jonathanchesterfield@gmail.com>2021-09-01 19:46:21 +0100
commit0173e024fd9e779a94503040a532bcf125277f86 (patch)
tree17d85f872e10f11628ca03c0b95ea84b2e1841e6 /clang/unittests/Basic/FileManagerTest.cpp
parent8c7a7e1f67b12d250fbd6cbd3aed39dccacd53bf (diff)
downloadllvm-0173e024fd9e779a94503040a532bcf125277f86.zip
llvm-0173e024fd9e779a94503040a532bcf125277f86.tar.gz
llvm-0173e024fd9e779a94503040a532bcf125277f86.tar.bz2
[openmp] Accept directory for libomptarget-bc-path
The commandline flag to specify a particular openmp devicertl library currently errors like: ``` fatal error: cannot open file './runtimes/runtimes-bins/openmp/libomptarget': Is a directory ``` CommonArgs successfully appends the directory to the commandline args then mlink-builtin-bitcode rejects it. This patch is a point fix to that. If --libomptarget-amdgcn-bc-path=directory then append the expected name for the current architecture and go on as before. This is useful for test runners that don't hardcode the architecture. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D109057
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions