Hi,
>>The whole point of my poc was to be able to get the LLVMIR of GO then put
it into an iOS app with bitcode enable. What are you saying is that it is
not possible to achieve this?
It's definitely outside the normal/expected use of gollvm, but it seems at
least possible to do this.
The key th
Hello,
Thanks for the answer. I've still some question then. The whole point of my
poc was to be able to get the LLVMIR of GO then put it into an iOS app with
bitcode enable. What are you saying is that it is not possible to achieve
this? Or it's possible but I've to add the missing symbols? If is
Greetings,
The code that Go compilers emit is closely tied to the Go runtime-- any
compiled Go code (including *.ll files) will have references to symbols
that it needs from the runtime. When you try to convert your LLVM-produced
bitcode into a binary via
clang helloworld.ll -o helloworldLLVM
yo