Debugger: Add our lldb to the system search paths

This way the user doesn't have to manually register lldb.exe

Change-Id: Id0a19de0962d8ba47a66a8d1909dfe2eb5ca0a6f
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Cristian Adam
2023-11-16 12:47:57 +01:00
parent 116798e544
commit 1a37da15c7
6 changed files with 23 additions and 3 deletions

View File

@@ -768,6 +768,14 @@ FilePath ICore::clazyStandaloneExecutable(const FilePath &clangBinDirectory)
return clangBinary("clazy-standalone", clangBinDirectory);
}
/*!
\internal
*/
FilePath ICore::lldbExecutable(const Utils::FilePath &lldbBinDirectory)
{
return clangBinary("lldb", lldbBinDirectory);
}
static QString compilerString()
{
#if defined(Q_CC_CLANG) // must be before GNU, because clang claims to be GNU too