[mach-o] improve errors when mixing architectures
authorNick Kledzik <kledzik@apple.com>
Mon, 30 Jun 2014 22:57:33 +0000 (22:57 +0000)
committerNick Kledzik <kledzik@apple.com>
Mon, 30 Jun 2014 22:57:33 +0000 (22:57 +0000)
commit378066c80e65c0a87820e3bfc1637d1b6144bd7e
tree36df9c2e83fc465e659c76fabe05360b02ee991d
parentcffaa1c2989dd8a8dfd0229600c641f2c64336d2
[mach-o] improve errors when mixing architectures

llvm-svn: 212072
lld/lib/ReaderWriter/MachO/MachONormalizedFile.h
lld/lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp
lld/lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp
lld/test/mach-o/wrong-arch-error.yaml [new file with mode: 0644]