I use gdb on linux to debug the swift binary. I find that gdb takes about 20 seconds just to read the symbols before I can even interact with gdb. I was wondering if anyone knew of a way to decrease the symbol load time, either by some gdb settings or by compiling swift/llvm/clang in such a way as to get a usefully debuggable binary but without so many symbols.
My swift binary is a massive 1.1gb. $ ls -lh swift -rwxr-xr-x 1 jon jon 1.1G Dec 8 18:43 swift* I built all of llvm/clang/swift in Debug mode. (Tangentially related, but using gold instead of ld to link swift is about 2-3x faster) -- _______________________________________________ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/mailman/listinfo/swift-dev