aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/ModuleDependencyCollector.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2021-01-25 14:23:11 -0800
committerJim Ingham <jingham@apple.com>2021-01-25 14:25:51 -0800
commit1fba21778f84f266f7d32153c88e59e1900fbe5b (patch)
tree1099b9e09151a23361362578554e60024fb51284 /clang/lib/Frontend/ModuleDependencyCollector.cpp
parent118c33ef47acae6ebb91350cf8f7bfb85427ef4e (diff)
downloadllvm-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