Previously the build used -gline-tables-only when COMPILER_RT_DEBUG
was off (default) and -g when COMPILER_RT_DEBUG was on. The end
result of this meant that the release build of the Sanitizer runtimes
were difficult to debug (e.g. information about variables and function
arguments were missing).
Presumably the reason for preferring -gline-tables-only for release
builds was to save space. However, for Apple platforms this doesn't
matter because debug info lives in separate .dSYM files (which aren't
shipped) rather than in the shipped .dylib files.
Now on Apple platforms we always emit full debug info if the compiler
supports it and we emit a fatal error if -g isn't supported.
rdar://79223184