]> granicus.if.org Git - clang/commit
[Darwin Driver] Fix Simulator builtins and test cases
authorChris Bieneman <chris.bieneman@me.com>
Wed, 15 Aug 2018 22:50:06 +0000 (22:50 +0000)
committerChris Bieneman <chris.bieneman@me.com>
Wed, 15 Aug 2018 22:50:06 +0000 (22:50 +0000)
commit0603ce8ab13aa43b7a35f54e4177502fd648c39a
tree786462615f08fca00867eca0e348bd46fa3f6ad5
parentb8bf4263674baa6b5fa506c28661e429a660d0e2
[Darwin Driver] Fix Simulator builtins and test cases

In r339807, I broke linking the builtins libraries for simulator targets, which itself was bad, but turns out it was all completely untested and marked with FIXME in the test suite.

This fixes all the test cases so they actually work, and fixes the bug I introduced in r339807.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339829 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Darwin.cpp
lib/Driver/ToolChains/Darwin.h
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.cc_kext_tvos.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.cc_kext_watchos.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.ios.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.osx.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.profile_tvos.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.profile_watchos.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.tvos.a [new file with mode: 0644]
test/Driver/Inputs/resource_dir/lib/darwin/libclang_rt.watchos.a [new file with mode: 0644]
test/Driver/darwin-ld.c