[LLVMdev] How to get started with LLVM if I am to insert a NOP instruction randomly by adjusting the Code Generation Algorithm?

waxiadao@gmail.com waxiadao at gmail.com
Tue Apr 8 03:34:51 PDT 2014


For you,the best way I think to start is to run llc to translate an ir
file,which can be generated by clang with an existing C source,to a
cppbackend output.Then you can know how instructions are built.

蜡笔小新 <841224078 at qq.com>于2014年4月8日星期二写道:

> Hi, everyone.
>
> I am so happy to join the LLVM email list to share some ideas and discuss
> technical problems. As listed in the topic, I was trying to insert a NOP
> instruction in a program by modifying the compiler.
>
> I read through the documentation about the backend of LLVM. However, it is
> too general to implement this. Can someone give me some advice on this?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140408/5785301d/attachment.html>


More information about the llvm-dev mailing list