Reapply "MC: simplify object file selection for Windows"
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 6 Mar 2014 23:02:15 +0000 (23:02 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 6 Mar 2014 23:02:15 +0000 (23:02 +0000)
commitaa558a78b26c4139f379a2546b9f197a4839c60c
treeac8dc299e90f9000d81e8daf3a8641a27aa18cd6
parentb52d0c0d74c506c3d701cd61d03abbfa6446e274
Reapply "MC: simplify object file selection for Windows"

That was overly aggressive in assuming that we could always assume COFF.  Some
of the tests assume that they will get ELF rather than COFF even on Windows
where the default is COFF.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203176 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp