This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Dynamic loading and unloading of functions in gcc-4.
- From: "adi.bhandari" <adi dot bhandari at cse dot iitb dot ac dot in>
- To: <gcc at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
- Date: Mon, 24 Mar 2014 22:08:22 +0530
- Subject: Dynamic loading and unloading of functions in gcc-4.
- Authentication-results: sourceware.org; auth=none
Hello,
The General Optimizer Improvements for GCC-4.9 states that function
bodies
are now loaded on-demand and released early improving overall memory
usage
at link time.
Even on searching for the implementation of this feature in the source
code, I was unable to find where this has been implemented. It would be
great if someone can point me to the required code for the dynamic
loading
of the functions.
Further, has unloading of the functions also been implemented? If yes,
please point me to that code as well.
Thank you very much!
Regards,
Aditya Bhandari