Allow .dSYM's to be directly placed in an alternate directory
authorDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 3 Aug 2020 19:46:49 +0000 (12:46 -0700)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Mon, 3 Aug 2020 20:18:52 +0000 (13:18 -0700)
commit7209f83112db4dbe15d8328705f9d2aff0624fbd
tree9ad269934afe68138325bb31da04730c3b3315af
parent7f1556f292ccfd80c4ffa986d5b849f915e5cd82
Allow .dSYM's to be directly placed in an alternate directory

Once available in the relevant toolchains this will allow us to implement
LLVM_EXTERNALIZE_DEBUGINFO_OUTPUT_DIR after D84127 by directly placing the dSYM
in the desired location instead of emitting next to the output file and moving
it.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D84572
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/darwin-dsymutil.c