commit | dae4a5cd25b6e4983784361b63c043292fdc4032 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Mon Jan 25 14:23:11 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Jan 28 12:37:28 2021 -0800 |
tree | 30bcc02f8e2e4fe4aa198f41de27d1fe39038a25 | |
parent | 151c6998f49b094be5c16942bbadda569bab5661 [diff] |
Follow on to: f05dc40c31d1883b46b8bb60547087db2f4c03e3 When you pass in a bogus ArchSpec, TargetList.CreateTarget makes a target with the arch of the executable. That wasn't the case with a bogus triple, so this change caused one of the bogus input data tests to fail. So check that the ArchSpec is valid before passing it to CreateTarget. GitOrigin-RevId: 1fba21778f84f266f7d32153c88e59e1900fbe5b