This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

yaxunl created this revision.Apr 27 2022, 11:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2022, 11:35 AM
yaxunl requested review of this revision.Apr 27 2022, 11:35 AM
tra accepted this revision.Apr 27 2022, 11:50 AM
tra added inline comments.
clang/lib/Driver/ToolChains/Linux.cpp
681

Nit: CmdArgs.append({ ... }) to add all arguments at once would be a bit more readable (no CmdArgs.push_back littering space between args).

This revision is now accepted and ready to land.Apr 27 2022, 11:50 AM
yaxunl marked an inline comment as done.Apr 27 2022, 11:55 AM
yaxunl added inline comments.
clang/lib/Driver/ToolChains/Linux.cpp
681

will do when committing

This revision was landed with ongoing or failed builds.Apr 28 2022, 8:12 AM
This revision was automatically updated to reflect the committed changes.
yaxunl marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2022, 8:12 AM