[Lldb-commits] [PATCH] D31366: Do not dereference std::unique_ptr by default

Tamas Berghammer via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 28 06:53:17 PDT 2017


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





More information about the lldb-commits mailing list