This is the mail archive of the
mailing list for the GCC project.
function name in labels
- From: "Jan Hoogerbrugge" <hoogerbrugge at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 20 Jan 2004 15:20:34 +0100
- Subject: function name in labels
I want to prefix labels in the assembly output with the current function
in function foo(), I would like to have labels such as foo_L1 and foo_L12.
makes it possible for me to recognize code in the output of profiles. Any
where I can find the name of the current function? I tried
current_function_name() but that does not work when compiling C++.
MSN Search, for accurate results! http://search.msn.nl