commit | 100d04165571d42437c8e74482534e69495540ec | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Mon Jan 16 18:50:54 2012 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Mon Jan 16 18:50:54 2012 +0000 |
tree | af5844440cc66b90b6650e523a2eb3708aaf3549 | |
parent | 7c9719b1cdb85bb8824439acd5c7c8e511d3e7a0 [diff] |
Make the auto-detection hack for the iOS simulator set the target triple correctly. Getting the target triple wrong mostly appears to work, but messes up in subtle cases; for example, we incorrectly conclude that fwrite is actually named fwrite$UNIX2003. Also shuffles around the auto-detection code a bit to try and make it a bit more reliable. Fixes <rdar://problem/10664848>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148249 91177308-0d34-0410-b5e6-96231b3b80d8