Awesome
llvm-msvc-build
This project migrated to https://github.com/backengineering/llvm-msvc
What's llvm-msvc?
A project that forked LLVM focused on MSVC Compatibility.
Because there are more hacky operations, a lot of code can not be submitted directly to the official. So there is this branch.
Features:
- SEH support.
- Compatible with MSVC syntax as much as possible.
- Windows Driver support.(Now only X64)
- Intrinsic support.
- Naked X64 inline asm support.
How to use llvm-msvc?
- Install Visual Studio 2015~2022(I suggest 2022) with WDK11.
- Install llvm-msvc in this repository (llvm-msvc_X86_64_installer.exe)
- Create your windows driver project and select "LLVM-MSVC_v143_KernelMode" as your platform toolset.
- Compile it.
Project template
Here is a Visual Studio windows driver example: [link]
Here is a cmkr windows driver template: [link]
Learning
If you don't know how to learn LLVM, you can check out this repository of mine.
Issues
If you have any questions, please tell me or send issues
Credits
- LLVM
- Some anonymous people