search for: mohie10

Displaying 2 results from an estimated 2 matches for "mohie10".

Did you mean: mohie
2017 Oct 25
1
Finding the entry point function in a LLVM IR
Thank You David and Mats for the reply, The reason I need to know that main is the entry point is as follows : I have a dead code elimination pass that removes the function call for boo. boo was initially called from the main function , but since the return in the main function has no dependency on boo, boo function call is removed. Now I want to remove the function definition of the functions
2017 Oct 23
2
Finding the entry point function in a LLVM IR
If you want to know which functions are (or may be) called from where, in the entire program, then you will need to do some sort of "LLVM-IR Linking" (there are tools that will do that for you, such as "llvm-link"). Of course, even then, there's possible cases where it's impossible to know whether a function is ACTUALLY called until at runtime - function pointers,