-
Notifications
You must be signed in to change notification settings - Fork 248
Closed
Description
Description: ASAN reports multiple issues after running test-suite.
Steps to reproduce:
- Clone llvm-project and go into it.
- Clone Translator inside llvm/projects.
- Run
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLLVM_ENABLE_PROJECTS=clang -DLLVM_BUILD_TESTS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_USE_SANITIZER='Address' -DLLVM_SPIRV_INCLUDE_TESTS=ON ./llvm. - Run
cmake --build buildand wait until build completes. - Go to build directory and run
ninja check-llvm-spirv.
Results
Big chunk of ASAN errors and:
Failed Tests (119):
LLVM_SPIRV :: DebugInfo/DebugInfoChecksum.ll
LLVM_SPIRV :: DebugInfo/DebugInfoChecksumCompileUnit.ll
LLVM_SPIRV :: DebugInfo/DebugInfoLLVMArg.ll
LLVM_SPIRV :: DebugInfo/DebugInfoTypeBasic.ll
LLVM_SPIRV :: DebugInfo/DebugInfoTypeInheritance.ll
LLVM_SPIRV :: DebugInfo/Generic/inlined-locations.ll
LLVM_SPIRV :: DebugInfo/NonSemantic/DIImportedEntity.ll
...TRUNCATED...
LLVM_SPIRV :: transcoding/OpGroupAllAny.ll
LLVM_SPIRV :: transcoding/image_signedness.ll
LLVM_SPIRV :: transcoding/sub_group_ballot.ll
LLVM_SPIRV :: transcoding/sub_group_clustered_reduce.ll
LLVM_SPIRV :: transcoding/sub_group_non_uniform_arithmetic.ll
LLVM_SPIRV :: transcoding/sub_group_non_uniform_vote.ll
Testing Time: 21.15s
Total Discovered Tests: 751
Passed : 628 (83.62%)
Expectedly Failed: 4 (0.53%)
Failed : 119 (15.85%)
Full text file from run:
llvm-spirv-asan.txt
Metadata
Metadata
Assignees
Labels
No labels