Skip to content

NewWorldComingSoon/llvm-msvc-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

llvm-msvc-build

GitHub license Github All Releases GitHub release

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]

image

Here is a cmkr windows driver template: [link]

image

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