Use -fullPath for atos on macos

This commit is contained in:
Jeremy 2023-09-12 02:07:24 -04:00
parent c7f6f76f54
commit 70bc51d371
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -94,7 +94,7 @@ namespace cpptrace {
#if !IS_APPLE
execlp("addr2line", "addr2line", "-e", executable.c_str(), "-f", "-C", "-p", nullptr);
#else
execlp("atos", "atos", "-o", executable.c_str(), nullptr);
execlp("atos", "atos", "-o", executable.c_str(), "-fullPath", nullptr);
#endif
#else
#ifndef CPPTRACE_ADDR2LINE_PATH