Enfield tests fail when compiled with Clang.
The problem is with CNOTLBOWrapperPass which tries to order the statements. It stores the statements into a std::set of pointers. When compiled with different compilers, the order may change since it depends on the address.
Consider the following solutions:
change what is expected of the tests (/tests/CNOTLBOWrapperPassTests.cpp) to be independent of order;
change the Layer definition for CNOTLBOWrapperPass since even LayerBuilderPass is using a different definition.
Enfield
tests fail when compiled with Clang. The problem is withCNOTLBOWrapperPass
which tries to order the statements. It stores the statements into astd::set
of pointers. When compiled with different compilers, the order may change since it depends on the address.Consider the following solutions:
/tests/CNOTLBOWrapperPassTests.cpp
) to be independent of order;Layer
definition forCNOTLBOWrapperPass
since evenLayerBuilderPass
is using a different definition.Breaking #9