This is an archive of the discontinued LLVM Phabricator instance.

Test the cross-product of options that affect how libgcc-related arguments are passed to the linker.
ClosedPublic

Authored by saugustine on Aug 20 2018, 4:14 PM.

Details

Reviewers
echristo
Summary

NFC. Add tests to verify how the driver passes libgcc arguments to the linker

Diff Detail

Event Timeline

saugustine created this revision.Aug 20 2018, 4:14 PM

I am refactoring the code that does this, in preparation for adding support for -shared-libgcc, and, after that, shared compiler-rt. These tests are to defend against mistakes in that refactoring and prepare for correct handling of the other cases.

echristo accepted this revision.Aug 28 2018, 6:14 PM

Feel free to add any tests like this that test existing behavior without review in the future. If we want to change the behavior we should probably review that though :)

-eric

This revision is now accepted and ready to land.Aug 28 2018, 6:14 PM