全部博文(76)
分类:
2010-04-09 10:22:22
This function returns the return address of the current function, or of one of its callers. The level argument is number of frames to scan up the call stack. A value of
0
yields the return address of the current function, a value of1
yields the return address of the caller of the current function, and so forth. When inlining the expected behavior is that the function will return the address of the function that will be returned to. To work around this behavior use thenoinline
function attribute.
Refer to:
http://blog.chinaunix.net/u/12592/showart_1679862.html