[PATCH v2 1/2] compile: set debug compile: Display GCC driver filename
Jan Kratochvil
jan.kratochvil@redhat.com
Mon Apr 27 20:44:00 GMT 2015
On Mon, 27 Apr 2015 20:53:46 +0200, Pedro Alves wrote:
> This split is a conscious design decision,
> that has advantages like insulating the debugger from compiler ICEs.
It would be useful if it was optional. This way it complicates the debugging
a lot. AFAIK it is not optional due to packaging reasons, cc1 would need to
be -fPIC which has some performance hit. OTOH that performance hit on x86_64
is say 1% (just my rough guess) but the performance hit of using GCC instead
of Clang is 119%. So I do not see why the -fPIC is not acceptable for GCC.
> And please don't tell me that LLDB/Clang don't crash. ;-)
I find it offtopic here but when you ask all software has bugs, for LLDB/clang:
* clang has not yet crashed for me on Linux during its daily use.
(gcc did but this is just due to using gcc longer / more extensively.)
* lldb has not crashed for me on OSX but I did not test it much there.
* lldb Linux port did crash for me but I do not consider that port finished.
Jan
More information about the Gdb-patches
mailing list