[PATCH] Respect object format choice on Darwin

Keno Fischer kfischer at college.harvard.edu
Sat Dec 27 05:31:05 PST 2014


Bumping with just the proposed change to remove `TT.isOSDarwin()`. Also putting @grosbach as the reviewer as suggested by @lhames.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6185

Files:
  lib/MC/MCObjectFileInfo.cpp

Index: lib/MC/MCObjectFileInfo.cpp
===================================================================
--- lib/MC/MCObjectFileInfo.cpp
+++ lib/MC/MCObjectFileInfo.cpp
@@ -868,7 +868,7 @@
        Arch == Triple::aarch64 ||
        Arch == Triple::ppc || Arch == Triple::ppc64 ||
        Arch == Triple::UnknownArch) &&
-      (TT.isOSDarwin() || TT.isOSBinFormatMachO())) {
+      TT.isOSBinFormatMachO()) {
     Env = IsMachO;
     InitMachOMCObjectFileInfo(TT);
   } else if ((Arch == Triple::x86 || Arch == Triple::x86_64 ||

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6185.17647.patch
Type: text/x-patch
Size: 527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141227/a1046f5b/attachment.bin>


More information about the llvm-commits mailing list