G
G
Gleb2017-07-13 21:54:13
Programming
Gleb, 2017-07-13 21:54:13

How to write code in llvm asm format?

I understand how to write asm code in fasm, nasm, etc... The question is how to write code in llvm asm. What IDEs or plugins are there? How to compile? Or only through clang to work and write code in C, C ++, etc.?
The goal is to write a toy compiler with a simple syntax.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gleb, 2017-07-13
@business-gl

Found the answer to my question LLVM API
For
C: https://pauladamsmith.com/blog/2015/01/how-to-get-...
Python: www.llvmpy.org/llvmpy-doc/0.12.7/doc /firstexample.html
Rust: https://github.com/tari/llvm-sys.rs
Go: https://github.com/go-llvm/llvm
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question