How to debug LLVM by VS2019 on Windows
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
How to debug LLVM by VS2019 on Windows
一、Enviroment
-
Install VS2019 CommunityCheck below option:
-
Install Cmake Preferably the latest version
二、Git Clone Code
Git clone code from GitHub. My LLVM version is 15.0.
三、Build Project
-
Create build folder in Project
-
Open command line in build folder
cmake -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_INSTALL_PREFIX=C:\Program\LLVM15 -G "Visual Studio 16 2019" -A x64 -Thost=x64 ../llvm
-
And then click LLVM.sln
-
ALL BUILD generate
四、Debug LLVM
1. Clang example
- Setup clang
-
Set properties
- Debug