Mac: set -obj_path_lto when building with LTO
This temporarily saves intermediate object files (other than cache hits
which are already persisted in the cache directory) so that `dsymutil`
can read the debug info out of them.
This change also adds an argument to linker_driver.py to clean this
directory up after `dsymutil` has run. I'm not sure this is the best
way to do it, so very open to other suggestions.
Reviewed-by: Nico Weber <email@example.com>
Commit-Queue: Leonard Grey <firstname.lastname@example.org>
1 file changed