From a862f3d2c84a623dae15bc7b1458ec7859c99321 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Tue, 12 Sep 2023 02:38:33 -0400 Subject: [PATCH] More thoroughly use -fullPath for atos on macos --- src/symbols/symbols_with_addr2line.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/symbols/symbols_with_addr2line.cpp b/src/symbols/symbols_with_addr2line.cpp index 9476435..79fcc7f 100644 --- a/src/symbols/symbols_with_addr2line.cpp +++ b/src/symbols/symbols_with_addr2line.cpp @@ -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?