mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 20:47:08 +08:00
崩溃捕获信息打印函数名
This commit is contained in:
parent
3252f131ad
commit
d8e5dbb5b8
@ -52,7 +52,7 @@ string System::execute(const string &cmd) {
|
|||||||
|
|
||||||
#if !defined(ANDROID) && !defined(_WIN32)
|
#if !defined(ANDROID) && !defined(_WIN32)
|
||||||
static string addr2line(const string &address) {
|
static string addr2line(const string &address) {
|
||||||
string cmd = StrPrinter << "addr2line -e " << exePath() << " " << address;
|
string cmd = StrPrinter << "addr2line -C -f -e " << exePath() << " " << address;
|
||||||
return System::execute(cmd);
|
return System::execute(cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user