When compiling with lto enabled, use -gline-tables-only instead of -g when debugging is enabled.
When compiling with lto enabled, use -gline-tables-only instead of -g when debugging is enabled.

-g uses too much memory. -g-line-stables at least lets you get stack traces,
etc.

This is also what clang does IIRC.

khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift