Page MenuHomePhabricator

[Driver] Change layout of per-target runtimes to resemble multiarch
ClosedPublic

Authored by phosek on May 26 2019, 1:49 PM.

Details

Summary

This is a follow up to r361432, changing the layout of per-target
runtimes to more closely resemble multiarch. While before, we used
the following layout:

<resource_dir>/<target>/lib/libclang_rt.<runtime>.<extension>

Now we use the following layout:

<resource_dir>/lib/<target>/libclang_rt.<runtime>.<extension>

This also more closely resembles the existing "non-per-target" layout:

<resource_dir>/lib/<os>/libclang_rt.<runtime>-<arch>.<extension>

This change will enable further simplification of the driver logic
in follow up changes.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.May 26 2019, 1:49 PM
Herald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptMay 26 2019, 1:49 PM
Herald added subscribers: llvm-commits, Restricted Project, cfe-commits and 4 others. · View Herald Transcript
This revision is now accepted and ready to land.May 27 2019, 12:27 PM
This revision was automatically updated to reflect the committed changes.