[Lldb-commits] [PATCH] Patch for pr17880 - main module gets base address added again to symbols on FreeBSD

Ed Maste emaste at freebsd.org
Tue Dec 17 07:19:34 PST 2013



================
Comment at: source/Commands/CommandObjectProcess.cpp:222
@@ +221,3 @@
+            real_exe_file.GetPath(real_exe_path, PATH_MAX);
+            target->SetArg0(real_exe_path);
+            target_settings_argv0 = target->GetArg0();
----------------
If we want to keep the originally provided argv0 we could instead add a new target member to store the realpath'd executable.


http://llvm-reviews.chandlerc.com/D2389



More information about the lldb-commits mailing list