[all-commits] [llvm/llvm-project] 24d7a0: [HIP] use GetProgramPath for executable discovery
Holger Wünsche via All-commits
all-commits at lists.llvm.org
Tue Jan 21 09:41:59 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 24d7a0935bea390fc444f6ac8cf02447fe8d6917
https://github.com/llvm/llvm-project/commit/24d7a0935bea390fc444f6ac8cf02447fe8d6917
Author: Holger Wünsche <holger.o.wuensche at t-online.de>
Date: 2020-01-21 (Tue, 21 Jan 2020)
Changed paths:
M clang/lib/Driver/ToolChains/HIP.cpp
Log Message:
-----------
[HIP] use GetProgramPath for executable discovery
This change replaces the manual building of executable paths
using llvm::sys::path::append with GetProgramPath.
This enables adding other paths in case executables reside
in different directories and makes the code easier to read.
Differential Revision: https://reviews.llvm.org/D72903
More information about the All-commits
mailing list