tberghammer added a comment.

My understanding (don't have an OSX machine at hand right now to try out) is 
that OSX ships with the libstdc++ belonging to gcc-4.2.1 and that version of 
libstdc++ is too old to support c++11 features such as std::unique_ptr.

Regarding skipping tests I am not aware of any way to skip a test based on the 
STL library we are using (Pavel is working on it for libc++ at 
https://reviews.llvm.org/D30984) and actually the problem here is that the 
version of libstdc++ shipping on  OSX is too old so I think skipIfDarwin is the 
correct decorator (we do it in several other tests as well). Alternative option 
could be to try to compile the source code and skip the test if compilation 
fails but that seems a bit flaky and might cause false negatives on other 
systems where we expect the test to pass.


https://reviews.llvm.org/D31366



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to