I wan’t to clone function from another bitcode module and set it AlwaysInline so it can be inlined.
But error occurs when applying a such custom pass. (It seems cause is usage of CloneFunction()) How can I fix it?
I’m using LLVM 3.6.0 on OS X and target is Android armeabi-v7a. (It should be same on other target)
I’ll appreciate any advice. Thanks.
- callee.cpp (compiled to bitcode module callee.bc)