Use the integrated assembler by default on OpenBSD.

llvm-svn: 212771
This commit is contained in:
Brad Smith 2014-07-10 22:37:28 +00:00
parent 848560125d
commit 733cb6437d
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ SparcELFMCAsmInfo::SparcELFMCAsmInfo(StringRef TT) {
SunStyleELFSectionSwitchSyntax = true;
UsesELFSectionDirectiveForBSS = true;
if (TheTriple.getOS() == llvm::Triple::Solaris)
if (TheTriple.getOS() == llvm::Triple::Solaris ||
TheTriple.getOS() == llvm::Triple::OpenBSD)
UseIntegratedAssembler = true;
}