This is an archive of the discontinued LLVM Phabricator instance.

Fix LLVMgold plugin name/path for non-Linux.
ClosedPublic

Authored by danalbert on Jul 21 2017, 3:25 PM.

Details

Summary

It's only named LLVMgold.so on Linux. Fix the name for Windows and
Darwin.

Also fix the path for Windows so binutils doesn't have to.

Diff Detail

Repository
rL LLVM

Event Timeline

danalbert created this revision.Jul 21 2017, 3:25 PM
srhines edited edge metadata.Jul 21 2017, 3:35 PM

Looks great. Thanks for fixing this up. It's hard to believe that there is nothing in Support that gives you the proper suffix for shared libraries. It would seem like this might be useful elsewhere, but I actually didn't find really any other place that wants to use this value generically.

It's hard to believe that there is nothing in Support that gives you the proper suffix for shared libraries. It would seem like this might be useful elsewhere, but I actually didn't find really any other place that wants to use this value generically.

I didn't see anything, but these terms show up often enough that it was difficult to grep.

srhines accepted this revision.Aug 14 2017, 4:18 PM
This revision is now accepted and ready to land.Aug 14 2017, 4:18 PM
This revision was automatically updated to reflect the committed changes.