Right now, I have an llvm bitcode compatible with llvm 3.3. However, my LLVM static pass is using llvm 3.6. Since the format of bitcode changes from 3.3 to 3.6, the pass is having issues on extracting debugging metadata. One way to solve this is that I could downgrade my whole llvm 3.6 pass to 3.3. However, is there any other way of doing this?
Asked
Active
Viewed 39 times
0
-
1can you show your effort? – Enamul Hassan Dec 05 '15 at 07:06
-
generally speaking, no. but sometimes you may have luck by disassembling bitcoin into IR (text format) and do some minor changes. – Hongxu Chen Dec 05 '15 at 10:53
-
from 3.3 to 3.6 you will get into some trouble when you go through the readable IR because attribute handling, metadata and some instructions have changed during the versions of LLVM. Who produces the LLVM IR? maybe you can hoist it to 3.6? – Michael Haidl Dec 05 '15 at 11:58