If the llvm function is not compiled, you do not have the execution permission.Then a core dump occurs. How can I be sure that the llvm function I’m about to use has been compiled and I have access permissions?
It’s not clear what specifically you’re actually asking about.
Thank you for replying，What I’m asking is, is there a way for the llvm Function to be sure it’s compiled?
As opposed to what exactly? Please elaborate, don’t just repeat what you already said.
It means whether the llvm::Function class has a method or member indicating that it has been compiled. The llvm::Function is created by the llvm::Module. The Module is a member of the ExecutionEngine. The compilation refers to llvm::ExecuteEngine class executes finalizeObject(), and that’s what it means.