This is an archive of the discontinued LLVM Phabricator instance.

Enable i386 builds for darwin lsan
ClosedPublic

Authored by fjricci on Feb 15 2017, 9:53 AM.

Details

Summary

Now that __thread is no longer used for lsan on darwin, i386 builds
can be enabled.

Diff Detail

Repository
rL LLVM

Event Timeline

fjricci created this revision.Feb 15 2017, 9:53 AM
fjricci updated this revision to Diff 88596.Feb 15 2017, 1:14 PM

Fix syntax error

kubamracek edited edge metadata.Feb 15 2017, 1:29 PM

Don't we still need to only build this when the CMake option is set? Or are you saying that there are no more build failures? Are the tests still disabled by default on Darwin?

This still does only build if CAN_SANITIZE_LEAKS_MAC is enabled, I just moved it to a new line for clarity. There aren't any build errors, given the two dependent pthreads patches, but the test suite will still fail if it's enabled by default.

Ah, I didn't notice this relies on the other patch (I though it's a standalone patch).

Right. Once we get this to build cleanly, let's turn the CMake switch to "On" and disable running the tests. That will make sure other patches won't break the build.

fjricci updated this revision to Diff 88776.Feb 16 2017, 1:50 PM

Update comment

Now that the allocator patch is in, this should be good to go. I'll upload the patch to enable builds (but not tests) by default separately.

kubamracek accepted this revision.Mar 27 2017, 3:44 PM

LGTM, assuming this builds everywhere and the tests either pass or they're not run in "check-all"

This revision is now accepted and ready to land.Mar 27 2017, 3:44 PM
This revision was automatically updated to reflect the committed changes.