mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-31 06:12:22 -06:00
ide: clang related fixes, find in files now trims long lines when putting them to output display array to avoid slowdowns
git-svn-id: svn://ultimatepp.org/upp/trunk@14115 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
39355c2646
commit
5941dfdae3
7 changed files with 123 additions and 100 deletions
|
|
@ -265,10 +265,9 @@ void Ide::BuildAndExtDebugFile()
|
|||
}
|
||||
|
||||
One<Debugger> GdbCreate(One<Host>&& host, const String& exefile, const String& cmdline, bool console);
|
||||
One<Debugger> Gdb_MI2Create(One<Host>&& host, const String& exefile, const String& cmdline, bool console);
|
||||
|
||||
#ifdef PLATFORM_WIN32
|
||||
One<Debugger> CdbCreate(One<Host>&& host, const String& exefile, const String& cmdline);
|
||||
One<Debugger> PdbCreate(One<Host>&& host, const String& exefile, const String& cmdline);
|
||||
One<Debugger> PdbCreate(One<Host>&& host, const String& exefile, const String& cmdline, bool clang);
|
||||
#endif
|
||||
|
||||
void Ide::BuildAndDebug(bool runto)
|
||||
|
|
@ -297,7 +296,7 @@ void Ide::BuildAndDebug(bool runto)
|
|||
|
||||
#ifdef PLATFORM_WIN32
|
||||
if(findarg(builder, "GCC", "CLANG") < 0 || bm.Get("DEBUG_OPTIONS", String()).Find("-gcodeview") >= 0) // llvm-mingw can generate pdb symbolic info
|
||||
debugger = PdbCreate(pick(host), target, runarg);
|
||||
debugger = PdbCreate(pick(host), target, runarg, builder == "CLANG");
|
||||
else
|
||||
#endif
|
||||
debugger = GdbCreate(pick(host), target, runarg, console);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue