Add -L -l options for linker.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D124545
[HIP] Add HIP runtime library arguments for linker ClosedPublic Authored by yaxunl on Apr 27 2022, 11:35 AM.
Details
Summary Add -L -l options for linker.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 27 2022, 11:50 AM This revision was landed with ongoing or failed builds.Apr 28 2022, 8:12 AM Closed by commit rG062317f72ebf: [HIP] Add HIP runtime library arguments for linker (authored by yaxunl). · Explain Why This revision was automatically updated to reflect the committed changes. yaxunl marked an inline comment as done.
Revision Contents
Diff 425788 clang/include/clang/Driver/Options.td
clang/include/clang/Driver/ToolChain.h
clang/lib/Driver/ToolChains/CommonArgs.h
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/Gnu.cpp
clang/lib/Driver/ToolChains/Linux.h
clang/lib/Driver/ToolChains/Linux.cpp
clang/lib/Driver/ToolChains/MSVC.h
clang/lib/Driver/ToolChains/MSVC.cpp
clang/test/Driver/hip-runtime-libs-linux.hip
clang/test/Driver/hip-runtime-libs-msvc.hip
|
Nit: CmdArgs.append({ ... }) to add all arguments at once would be a bit more readable (no CmdArgs.push_back littering space between args).