Displaying 1 result from an estimated 1 matches for "deadargumentelimination_8cpp_sourc".
Did you mean:
deadargumentelimination_8cpp_source
2013 Oct 03
2
[LLVMdev] Convert a function to "main"
...t; file-2.bc. However,
the optimization pass does not realize by itself that the function
parameters are not being used, and does not eliminate them.
* I've tried delete( function->arg_begin() ); with a (somehow predicted)
segmentation fault.
* I've read
http://llvm.org/docs/doxygen/html/DeadArgumentElimination_8cpp_source.html to
try to understand how deadargelim eliminates the unused arguments of a
function, but I'm not able to fully understand the code.
Which one is the best approach to remove the unused arguments of the
function?. I'm stuck here.
Thanks a lot !!
-------------- next part --------------...