This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] Don't remove defaultlibs
AbandonedPublicDraft

Authored by philnik on Jun 6 2023, 6:21 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Clang uses -nostdlib++ instead of -nodefaultlibs, so the only problematic libraries are C++ libraries. We already invoke the C frontend instead of the C++ one, so removing and re-adding all the defaultlibs is a lot of work without any benefit.

Diff Detail

Event Timeline

philnik created this revision.Jun 6 2023, 6:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 6 2023, 6:21 PM
Herald added a subscriber: mstorsjo. · View Herald Transcript
philnik updated this revision to Diff 529332.Jun 7 2023, 9:09 AM

Other fix

philnik abandoned this revision.Aug 8 2023, 1:13 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 8 2023, 1:13 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript