[all-commits] [llvm/llvm-project] 3cce37: [HIP] use GetProgramPath for executable discovery
Holger Wünsche via All-commits
all-commits at lists.llvm.org
Wed Jan 22 08:41:13 PST 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 3cce3790072249cbe51b96cea26bc78019c11fd0
https://github.com/llvm/llvm-project/commit/3cce3790072249cbe51b96cea26bc78019c11fd0
Author: Holger Wünsche <holger.o.wuensche at t-online.de>
Date: 2020-01-22 (Wed, 22 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
(cherry picked from commit 24d7a0935bea390fc444f6ac8cf02447fe8d6917)
More information about the All-commits
mailing list