Escape provided addr2line tool path

This commit is contained in:
Clément Grégoire
2026-06-06 14:47:24 +02:00
parent 7cb98245ce
commit 7437c41514

View File

@@ -55,8 +55,9 @@ public:
return;
}
m_addr2LinePath = addr2lineToolPath;
std::cout << "Using user-specified symbol resolution tool: '" << m_addr2LinePath.c_str() << "'" << std::endl;
// A user-provided path may contain spaces or other shell-special characters.
escapeShellParam( addr2lineToolPath, m_addr2LinePath );
std::cout << "Using user-specified symbol resolution tool: '" << addr2lineToolPath.c_str() << "'" << std::endl;
return;
}