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: jist...@redhat.com
Reporter: aeuba...@google.com
CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs