aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorArtem Belevich <tra@google.com>2020-10-29 15:19:06 -0700
committerArtem Belevich <tra@google.com>2020-11-03 10:31:39 -0800
commitcdbf6bfdc7d15fc6a078c7773f142042a11d2c1b (patch)
tree094c8a2abc66ebca2f8bf3c1b5af625287582093 /clang/lib/CodeGen/CodeGenModule.cpp
parentbe86b6773b6ba4d101a848e109540548181d2ed5 (diff)
downloadllvm-cdbf6bfdc7d15fc6a078c7773f142042a11d2c1b.zip
llvm-cdbf6bfdc7d15fc6a078c7773f142042a11d2c1b.tar.gz
llvm-cdbf6bfdc7d15fc6a078c7773f142042a11d2c1b.tar.bz2
[HIP] Use argv[0] as the default choice for the Executable name.
The path produced by getMainExecutable() may not be the right one when the files are installed in a symlinked tree and when the real location of llvm-objdump is in a different directory. Given that clang-offload-bundler is invoked by clang, the driver already does the job figuring out the right path (e.g. it pays attention to -no-canonical-prefixes). Offload bundler should use it, instead of trying to figure out the path on its own. Differential Revision: https://reviews.llvm.org/D90436
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions