[LLVMdev] Does LLVM 3.5 works with IR from LLVM 3.0?

Gaoyao Xiao windxing2007 at gmail.com
Tue Jul 15 07:32:13 PDT 2014


Hi,


I have some IR files which can  be compiled using llc-3.0 and gcc-4.6.3. I
want to instrument these IR files. My instrumentation pass is implemented
under LLVM-3.5 and some data structures in LLVM-3.5 are not available on
LLVM-3.0, such as *AttributeSet* in *Attribute.h*. I tried to compile my
instrumentation pass under LLVM-3.0 and it failed due to missing data
types. So I am asking whether it is possible to use LLVM-3.5 to instrument
the IR files?  If not, is there any walk around?

Thanks!
Gaoyao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140715/5b1c0eed/attachment.html>


More information about the llvm-dev mailing list