EricWF added a comment. In https://reviews.llvm.org/D24083#534459, @logan wrote:
> One solution might be adding the `libclang_rt.builtins.${arch}.a` detection > rules[1] to CMakeLists.txt, and manually specify > `-lclang_rt.builtins-${arch}.a` when `LIBCXXABI_USE_COMPILER_RT` is enabled. > How do you think about this solution? That SGTM. There's a similar workaround in libc++ to link the sanitizer run-times on OS X (found here <https://github.com/llvm-mirror/libcxx/blob/master/lib/CMakeLists.txt#L40>). https://reviews.llvm.org/D24083 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits