[Bug 27516] New: test suite: add a skipUnless-style decorator for skipping unless libc++ is available

Bug ID 27516
Summary test suite: add a skipUnless-style decorator for skipping unless libc++ is available
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

This is meant to implement:
[https://bugs.swift.org/browse/SR-800](https://bugs.swift.org/browse/SR-800)

>From there:

Upstream llvm.org Linux folks currently assume using gcc as a compiler is a
sufficient guard against building on a Linux without libc++. However, on Swift
Ubuntu, we build on Linux with clang (rather than gcc) but don't have libc++.
So the "compiling with clang" skipUnless variant isn't sufficient. Also, it's
not really checking the key piece: whether libc++ is available.