Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

__builtin_return_address in sun c compiler on solaris

Status
Not open for further replies.

vkakkar

Programmer
Dec 4, 2001
2
US
I know that we can use __builtin_return_address to get the stack return address of the parent function, if the code is compiled using gnu's gcc. Is there a way to find the address using sun cc compiler. Or if there is no direct function, then is there a way I can achieve similar result? Ideas, pointers are greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top