[debugserver] Set arch based on TARGET_TRIPLE
authorVedant Kumar <vsk@apple.com>
Wed, 20 Nov 2019 20:08:34 +0000 (12:08 -0800)
committerVedant Kumar <vsk@apple.com>
Wed, 20 Nov 2019 20:12:47 +0000 (12:12 -0800)
commitaf331cbe14e8376c696441bb4c26a68be733b884
treea20e58651a75a6b56d4a34ffdfe3d08845e93a53
parent4a308d302c3378258c5a9af231236de4d7ff741a
[debugserver] Set arch based on TARGET_TRIPLE

Use TARGET_TRIPLE instead of LLVM_DEFAULT_TARGET_TRIPLE, as the latter
isn't exported by LLVMConfig.cmake, which means arch detection fails if
lldb is built separately from llvm.
lldb/tools/debugserver/source/MacOSX/CMakeLists.txt