More thoroughly use -fullPath for atos on macos

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

View File

@ -112,7 +112,13 @@ namespace cpptrace {
nullptr
);
#else
execl(CPPTRACE_ADDR2LINE_PATH, CPPTRACE_ADDR2LINE_PATH, "-o", executable.c_str(), nullptr);
execl(
CPPTRACE_ADDR2LINE_PATH,
CPPTRACE_ADDR2LINE_PATH,
"-o", executable.c_str(),
"-fullPath",
nullptr
);
#endif
#endif
_exit(1); // TODO: Diagnostic?