[llvm-dev] C++ API for using the LLVM Integrated Assembler?
Francis Visoiu Mistrih via llvm-dev
llvm-dev at lists.llvm.org
Mon Aug 6 01:50:47 PDT 2018
Hi Zhang,
> On 6 Aug 2018, at 08:14, Zhang via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hi:
> Quick question: I'm trying to compile some arm64 assembly text into MachO object files. Which APIs should I call and is there any examples?
The best example is to look at llvm-mc. Specifically in tools/llvm-mc/llvm-mc.cpp, the function AssembleInput and the way it’s called from main.
Cheers,
—
Francis
> Thanks in advance
>
> Zhang
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
More information about the llvm-dev
mailing list