mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 11:11:04 +01:00
This should substantially reduce the total build size of `-c dbg` builds, and especially improve cache hits during incremental development. I'm seeing over 50% reduction total on Linux in just the raw size of a complete debug build. Even on macOS where we can't use split DWARF there are substantial reductions. Note that LLDB and GDB want slightly different flags to have the best experience with split debug information, and so the build and documentation have been updated to enable LLDB's flags by default but provide clear instructions for switching to GDB's flags, and they are structured so that this can be done persistently for an individual developer.