获取上层调用函数地址的代码

原文地址:https://www.cnblogs.com/k1988/p/2165684.html