[llvm-bugs] [Bug 45621] New: [dfsan] Failing test when libcxx is built with DFSan
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 20 10:29:50 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45621
Bug ID: 45621
Summary: [dfsan] Failing test when libcxx is built with DFSan
Product: libc++
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: zbrid at google.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
Commands I Ran
```
cmake -GNinja ../llvm-project/llvm -DCMAKE_BUILD_TYPE=RELWITHDEBINFO
-DCMAKE_C_COMPILER=~/repos/clang-build/bin/clang
-DCMAKE_CXX_COMPILER=~/repos/clang-build/bin/clang++
-DLLVM_USE_SANITIZER="DataFlow" -DLLVM_ENABLE_LIBCXX=ON
-DLLVM_ENABLE_PROJECTS="libcxx;libcxxabi"
ninja cxx cxxabi
ninja check-cxx
```
Expected: All tests pass
Actual results
```
Unexpected failures
libcxx/atomics/atomics.align/align.pass.sh.cpp
std/strings/string.conversions/stoull.pass.cpp
std/utilities/charconv/charconv.to.chars/integral.pass.cpp
std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp
```
Run the tests individually with these commands
```
cd libcxx-dfsan-build/
./bin/llvm-lit -sv
../llvm-project/libcxx/test/libcxx/atomics/atomics.align/align.pass.sh.cpp
./bin/llvm-lit -sv
../llvm-project/libcxx/test/std/strings/string.conversions/stoull.pass.cpp
./bin/llvm-lit -sv
../llvm-project/libcxx/test/std/utilities/charconv/charconv.to.chars/integral.pass.cpp
../llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/apply_large_arity.pass.cpp
```
These failures look like miscompiles and are likely issues with DFSan.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200420/5c477e29/attachment.html>
More information about the llvm-bugs
mailing list