Fix crash with x86_64-pc-win32-macho target. <rdar://problem/17235840>
authorBob Wilson <bob.wilson@apple.com>
Tue, 10 Jun 2014 21:07:12 +0000 (21:07 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 10 Jun 2014 21:07:12 +0000 (21:07 +0000)
commit07216a1161173c0c3f81544459eb4feae808bf8c
treeae7a7f8e469377f6f23dddb4877d2378b705d9be
parent73429fd4a69504bb6fb4bbfc550f649eb102099a
Fix crash with x86_64-pc-win32-macho target. <rdar://problem/17235840>

The changes in r204978 broke win32-macho targets. There were checks added for
MSVC and Itanium environments as special cases, and win32-macho needs to be
treated the same way.

llvm-svn: 210584
clang/lib/Frontend/InitHeaderSearch.cpp
clang/test/Misc/win32-macho.c [new file with mode: 0644]