This is an archive of the discontinued LLVM Phabricator instance.

Make TestTopLevelExprs more robust in face of linker GC
ClosedPublic

Authored by labath on Nov 7 2017, 4:18 AM.

Details

Summary

This test was failing in various configurations on linux in a fairly
unpredictible way. The success depended on whether the c++ abi library
was linked in statically or not and how well was the linker able to
strip parts of it. This introduces additional code to the "dummmy" test
executable, which ensures that all parts of the library needed to
evaluate the expressions are always present.

Diff Detail

Repository
rL LLVM

Event Timeline

labath created this revision.Nov 7 2017, 4:18 AM
clayborg accepted this revision.Nov 7 2017, 3:02 PM
This revision is now accepted and ready to land.Nov 7 2017, 3:02 PM
This revision was automatically updated to reflect the committed changes.