[PATCH] Use the integrated assembler by default on OpenBSD/SPARC

Brad Smith brad at comstyle.com
Thu Jul 10 13:51:39 PDT 2014


Use the integrated assembler by default on OpenBSD/SPARC.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
Index: lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp
===================================================================
--- lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp	(revision 212648)
+++ lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp	(working copy)
@@ -43,7 +43,8 @@
   SunStyleELFSectionSwitchSyntax = true;
   UsesELFSectionDirectiveForBSS = true;
 
-  if (TheTriple.getOS() == llvm::Triple::Solaris)
+  if (TheTriple.getOS() == llvm::Triple::Solaris ||
+      TheTriple.getOS() == llvm::Triple::OpenBSD)
     UseIntegratedAssembler = true;
 }
 


More information about the llvm-commits mailing list