This is an archive of the discontinued LLVM Phabricator instance.

Fix test assumption that Linux implies glibc.
ClosedPublic

Authored by danalbert on Oct 31 2018, 3:52 PM.

Details

Summary

This fixes an regression when using bionic introduced in r345173.

I need to follow up and figure out what exactly is implied by
TEST_HAS_C11_FEATURES and see what the correct configuration is for
bionic (new versions should have everything the tests care about,
versions that predate C11 certainly don't), but this gets the tests
back to the old behavior.

Event Timeline

danalbert created this revision.Oct 31 2018, 3:52 PM

I hate this chunk of code. :-(
TEST_HAS_C11_FEATURES basically means that we can use C11 library features like aligned_alloc, and timespec etc.

EricWF accepted this revision.Nov 1 2018, 2:14 PM
This revision is now accepted and ready to land.Nov 1 2018, 2:14 PM
This revision was automatically updated to reflect the committed changes.