Issue 150601
Summary libcxx test failure when libcxx is build with no exceptions and no RTTI
Labels libc++
Assignees
Reporter vhscampos
    One libcxx test fail if libcxx is build with no exceptions and no RTTI.

```
libcxx/utilities/expected/expected.expected/value.observers.verify.cpp
```

The absence of RTTI might not be required to reproduce the failure, but I haven't tested with it enabled. However the absence of exception support is indeed required.

### How to reproduce

Disable exceptions and RTTI in libcxx:

`cmake ... -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" -DLIBCXX_ENABLE_EXCEPTIONS=OFF -DLIBCXX_ENABLE_RTTI=OFF`

Run the libcxx tests:

`ninja check-libcxx`

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to