This is an archive of the discontinued LLVM Phabricator instance.

[OpenEmbedded] Explicitly specify -stdlib and -rtlib in tests
ClosedPublic

Authored by phosek on Jul 31 2018, 6:47 PM.

Details

Summary

Tests added r338294 implicitly assume that the libstdc++ is the standard
C++ library and libgcc is the runtime library, but that's not the case
when the user configures Clang to use libc++ or compiler-rt when these
tests will break. Explicitly request libstdc++ and libgcc when invoking
clang in these tests to avoid that.

Diff Detail

Repository
rL LLVM

Event Timeline

phosek created this revision.Jul 31 2018, 6:47 PM

This broke all our bots so I plan on submitting this if I don't hear back soon.

mgrang accepted this revision.Jul 31 2018, 7:28 PM

LGTM.

This revision is now accepted and ready to land.Jul 31 2018, 7:28 PM
This revision was automatically updated to reflect the committed changes.