llvm / llvm/llvm-project

[msvc] LLVM failed to run 2 tests on Windows

Open
#189,325 0 comments 0 reactions 0 assignees View on GitHub
clang platform:windows test-suite
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

LLVM failed to run 2 tests on Windows, could you please take a look?

**Repro steps:**
```
1. Open VS2022 x64 CMD.
2. git clone --config core.autocrlf=false https://github.com/llvm/llvm-project.git
3. cd llvm-project
4. mkdir build_amd64 && cd build_amd64
5. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DLLVM_ENABLE_PROJECTS="clang" -DCLANG_BUILD_LIFETIME_SAFETY_BENCHMARK_VENV=OFF ..\llvm
6. msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo /p:PreferredToolArchitecture=x64 LLVM.sln /t:Rebuild
7. set PATH=F:\tools\gnuwin32\bin;%PATH%
8. python.exe ../llvm/utils/lit/lit.py -v --no-progress-bar --param build_mode=RelWithDebInfo --param clang_site_config=./tools/clang/test/lit.site.cfg ./tools/clang/test -j 16
```

**Failed Tests:**
Clang :: Analysis/Scalable/ssaf-linker/linking.test
Clang :: Driver/modules-driver-malformed-manifest.cpp

[LLVM_test.log](https://github.com/user-attachments/files/26341597/LLVM_test.log)

Contributor guide

Open the contributing guide

Research direction

Reproduce the failures using the listed VS2022, CMake, MSBuild, and lit commands. Start with the two named tests: Clang :: Analysis/Scalable/ssaf-linker/linking.test and Clang :: Driver/modules-driver-malformed-manifest.cpp, then inspect LLVM_test.log for the Windows-specific errors. Done means identifying and fixing the cause so both tests pass in the described configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
compilers, operating-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.