llvm-mc
LLVM Machine Code Playground. It provides a set of tools for working with LLVM machine code. Part of LLVM. More information: https://llvm.org/docs/CommandGuide/llvm-mc.html.
- Assemble assembly code file into object file with machine code:
llvm-mc --filetype=obj -o
- Disassemble object file with machine code into assembly code file:
llvm-mc --disassemble -o
- Compile LLVM bit code file into assembly code:
llvm-mc -o
- Assemble assembly code from
stdinand show encoding tostdout:
echo "" | llvm-mc -show-encoding -show-inst
- Disassemble machine code from
stdinfor specified triple:
echo "" | llvm-mc --disassemble -triple=
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
