This is an archive of the discontinued LLVM Phabricator instance.

[Clang][Driver] Remove gold linker support for PS4 toolchain
ClosedPublic

Authored by ychen on Jun 16 2020, 2:36 PM.

Diff Detail

Event Timeline

ychen created this revision.Jun 16 2020, 2:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2020, 2:36 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
ychen updated this revision to Diff 271218.Jun 16 2020, 3:02 PM
  • update test
ychen updated this revision to Diff 271237.Jun 16 2020, 3:58 PM
  • clang-format
probinson accepted this revision.Jun 17 2020, 6:43 AM

LGTM with one inline comment.

clang/lib/Driver/ToolChains/PS4CPU.cpp
152–153

Seems like you shouldn't need a temp variable LdName here? The old code just passes the literal string directly:
Args.MakeArgString(ToolChain.GetProgramPath("orbis-ld"));

This revision is now accepted and ready to land.Jun 17 2020, 6:43 AM
ychen updated this revision to Diff 271394.Jun 17 2020, 9:40 AM
  • address comment
ychen marked an inline comment as done.Jun 17 2020, 9:41 AM
This revision was automatically updated to reflect the committed changes.