diff options
author | Jim Ingham <jingham@apple.com> | 2021-01-25 14:23:11 -0800 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2021-01-25 14:25:51 -0800 |
commit | 1fba21778f84f266f7d32153c88e59e1900fbe5b (patch) | |
tree | 1099b9e09151a23361362578554e60024fb51284 /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | 118c33ef47acae6ebb91350cf8f7bfb85427ef4e (diff) | |
download | llvm-1fba21778f84f266f7d32153c88e59e1900fbe5b.zip llvm-1fba21778f84f266f7d32153c88e59e1900fbe5b.tar.gz llvm-1fba21778f84f266f7d32153c88e59e1900fbe5b.tar.bz2 |
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.
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions