[llvm-bugs] [Bug 46608] New: ASan failures within LLVM using new pass manager
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jul 6 13:47:12 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46608
Bug ID: 46608
Summary: ASan failures within LLVM using new pass manager
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: jistone at redhat.com
Reporter: aeubanks at google.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
$ cmake -G Ninja \
-DCMAKE_INSTALL_PREFIX=${HOME}/${LLVM_INSTALL}/llvm-install-release \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=ON \
-DLLVM_ENABLE_PROJECTS="clang;lld;compiler-rt;mlir" \
-DLLVM_EXTERNAL_PROJECTS="clang;lld;compiler-rt;mlir" \
-DLLVM_ENABLE_LLD=1 \
-DLLVM_USE_SANITIZER=Address \
../llvm
$ ninja check-all
Some tests seem to fail when LLVM itself is built with ASan and when the new
pass manager is enabled. Likely there is some UB in LLVM.
Some examples:
MLIR-Unit ::
Dialect/SPIRV/./MLIRSPIRVTests/DeserializationTest.EmptyModuleFailure
Builtins-x86_64-linux :: absvdi2_test.c
CRT-x86_64-linux :: ctor_dtor.c
Clang :: Driver/fuse-ld.c
--
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/20200706/0ccea179/attachment.html>
More information about the llvm-bugs
mailing list