This is an archive of the discontinued LLVM Phabricator instance.

Hurd: Clean up Debian multiarch /usr/include/<triplet>
ClosedPublic

Authored by sthibaul on Apr 26 2021, 2:18 PM.

Details

Summary

This is a follow-up of 35dd6470de84 for the Hurd case, to avoid the
duplication of the i386-gnu path, already provided by
Hurd::getMultiarchTriple.

Diff Detail

Event Timeline

sthibaul requested review of this revision.Apr 26 2021, 2:18 PM
sthibaul created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 26 2021, 2:18 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
MaskRay accepted this revision.Apr 26 2021, 8:15 PM

Thanks!

This revision is now accepted and ready to land.Apr 26 2021, 8:15 PM

FI, I don't have commit access.

Does Hurd support non-i386? Ideally this should have a test.

No, for now it only supports i686.
This part is actually already being tested by hurd.cpp, /usr/include/i386-gnu wouldn't be getting included otherwise.

I see that this makes the code similar to the similar logic in Linux.cpp. Thanks!

This revision was automatically updated to reflect the committed changes.

I try to make Hurd.cpp close to Linux.cpp in general, yes.