<div dir="ltr"><div>Hi Rafael -<br><br></div>I'm getting 2 'make check' failures on Darwin after this commit:<br><br>FAIL: LLVM :: CodeGen/MSP430/indirectbr.ll (3223 of 14474)<br>******************** TEST 'LLVM :: CodeGen/MSP430/indirectbr.ll' FAILED ********************<br>Script:<br>--<br>/Users/spatel/thellvm/cmake_all/./bin/llc -march=msp430 < /Users/spatel/thellvm/llvm/test/CodeGen/MSP430/indirectbr.ll<br>--<br>Exit Code: 132<br><br>Command Output (stderr):<br>--<br>Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /Users/spatel/thellvm/llvm/include/llvm/Support/Casting.h, line 237.<br>0 llc 0x000000010beb9c9e llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46<br>1 llc 0x000000010bebb569 PrintStackTraceSignalHandler(void*) + 25<br>2 llc 0x000000010beb8259 llvm::sys::RunSignalHandlers() + 425<br>3 llc 0x000000010bebb8ee SignalHandler(int) + 366<br>4 libsystem_platform.dylib 0x00007fff9195bf1a _sigtramp + 26<br>5 libsystem_platform.dylib 0x0000000000000002 _sigtramp + 1852457218<br>6 llc 0x000000010bebb58b raise + 27<br>7 llc 0x000000010bebb642 abort + 18<br>8 llc 0x000000010bebb621 __assert_rtn + 129<br>9 llc 0x000000010a75b53e llvm::cast_retty<llvm::MCSymbolELF, llvm::MCSymbol*>::ret_type llvm::cast<llvm::MCSymbolELF, llvm::MCSymbol>(llvm::MCSymbol*) + 110<br>10 llc 0x000000010b042faf llvm::AsmPrinter::EmitGlobalVariable(llvm::GlobalVariable const*) + 5535<br>11 llc 0x000000010b0472a8 llvm::AsmPrinter::doFinalization(llvm::Module&) + 248<br>12 llc 0x000000010b7afa2c llvm::FPPassManager::doFinalization(llvm::Module&) + 92<br>13 llc 0x000000010b7b052a (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) + 1946<br>14 llc 0x000000010b7afba6 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 310<br>15 llc 0x000000010b7b0a81 llvm::legacy::PassManager::run(llvm::Module&) + 33<br>16 llc 0x0000000109f48cf3 compileModule(char**, llvm::LLVMContext&) + 10755<br>17 llc 0x0000000109f46286 main + 230<br>18 libdyld.dylib 0x00007fff8af5e5c9 start + 1<br>Stack dump:<br>0. Program arguments: /Users/spatel/thellvm/cmake_all/./bin/llc -march=msp430 <br>/Users/spatel/thellvm/cmake_all/test/CodeGen/MSP430/Output/indirectbr.ll.script: line 1: 74403 Illegal instruction: 4 /Users/spatel/thellvm/cmake_all/./bin/llc -march=msp430 < /Users/spatel/thellvm/llvm/test/CodeGen/MSP430/indirectbr.ll<br><br>--<br><br>********************<br>FAIL: LLVM :: CodeGen/MSP430/indirectbr2.ll (3257 of 14474)<br>******************** TEST 'LLVM :: CodeGen/MSP430/indirectbr2.ll' FAILED ********************<br>Script:<br>--<br>/Users/spatel/thellvm/cmake_all/./bin/llc -march=msp430 < /Users/spatel/thellvm/llvm/test/CodeGen/MSP430/indirectbr2.ll | /Users/spatel/thellvm/cmake_all/./bin/FileCheck /Users/spatel/thellvm/llvm/test/CodeGen/MSP430/indirectbr2.ll<br>--<br>Exit Code: 2<br><br>Command Output (stderr):<br>--<br>Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file /Users/spatel/thellvm/llvm/include/llvm/Support/Casting.h, line 237.<br>0 llc 0x000000010c03dc9e llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46<br>1 llc 0x000000010c03f569 PrintStackTraceSignalHandler(void*) + 25<br>2 llc 0x000000010c03c259 llvm::sys::RunSignalHandlers() + 425<br>3 llc 0x000000010c03f8ee SignalHandler(int) + 366<br>4 libsystem_platform.dylib 0x00007fff9195bf1a _sigtramp + 26<br>5 libsystem_platform.dylib 0x0000000000000002 _sigtramp + 1852457218<br>6 llc 0x000000010c03f58b raise + 27<br>7 llc 0x000000010c03f642 abort + 18<br>8 llc 0x000000010c03f621 __assert_rtn + 129<br>9 llc 0x000000010a8df53e llvm::cast_retty<llvm::MCSymbolELF, llvm::MCSymbol*>::ret_type llvm::cast<llvm::MCSymbolELF, llvm::MCSymbol>(llvm::MCSymbol*) + 110<br>10 llc 0x000000010b1c6faf llvm::AsmPrinter::EmitGlobalVariable(llvm::GlobalVariable const*) + 5535<br>11 llc 0x000000010b1cb2a8 llvm::AsmPrinter::doFinalization(llvm::Module&) + 248<br>12 llc 0x000000010b933a2c llvm::FPPassManager::doFinalization(llvm::Module&) + 92<br>13 llc 0x000000010b93452a (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) + 1946<br>14 llc 0x000000010b933ba6 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 310<br>15 llc 0x000000010b934a81 llvm::legacy::PassManager::run(llvm::Module&) + 33<br>16 llc 0x000000010a0cccf3 compileModule(char**, llvm::LLVMContext&) + 10755<br>17 llc 0x000000010a0ca286 main + 230<br>18 libdyld.dylib 0x00007fff8af5e5c9 start + 1<br>Stack dump:<br>0. Program arguments: /Users/spatel/thellvm/cmake_all/./bin/llc -march=msp430 <br>FileCheck error: '-' is empty.<br><br>--<br><br>********************<br> -- Testing: 14474 tests, 8 threads -- <br>Testing Time: 416.03s<br>********************<br>Failing Tests (2):<br> LLVM :: CodeGen/MSP430/indirectbr.ll<br> LLVM :: CodeGen/MSP430/indirectbr2.ll<br><br> Expected Passes : 14282<br> Expected Failures : 111<br> Unsupported Tests : 79<br> Unexpected Failures: 2<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 7:31 AM, Rafael Espindola via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: rafael<br>
Date: Fri Aug 14 08:31:17 2015<br>
New Revision: 245047<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=245047&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=245047&view=rev</a><br>
Log:<br>
Centralize the information about which object format we are using.<br>
<br>
Other than some places that were handling unknown as ELF, this should<br>
have no change. The test updates are because we were detecting<br>
arm-coff or x86_64-win64-coff as ELF targets before.<br>
<br>
It is not clear if the enum should live on the Triple. At least now it lives<br>
in a single location and should be easier to move somewhere else.<br>
<br>
Removed:<br>
llvm/trunk/test/MC/COFF/ARM/directive-type-diagnostics.s<br>
Modified:<br>
llvm/trunk/include/llvm/MC/MCObjectFileInfo.h<br>
llvm/trunk/lib/MC/MCContext.cpp<br>
llvm/trunk/lib/MC/MCObjectFileInfo.cpp<br>
llvm/trunk/lib/MC/MCParser/AsmParser.cpp<br>
llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp<br>
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp<br>
llvm/trunk/test/CodeGen/X86/statepoint-stackmap-format.ll<br>
<br>
Modified: llvm/trunk/include/llvm/MC/MCObjectFileInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCObjectFileInfo.h?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCObjectFileInfo.h?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/include/llvm/MC/MCObjectFileInfo.h (original)<br>
+++ llvm/trunk/include/llvm/MC/MCObjectFileInfo.h Fri Aug 14 08:31:17 2015<br>
@@ -331,13 +331,9 @@ public:<br>
return EHFrameSection;<br>
}<br>
<br>
- enum Environment { IsMachO, IsELF, IsCOFF };<br>
- Environment getObjectFileType() const { return Env; }<br>
-<br>
Reloc::Model getRelocM() const { return RelocM; }<br>
<br>
private:<br>
- Environment Env;<br>
Reloc::Model RelocM;<br>
CodeModel::Model CMModel;<br>
MCContext *Ctx;<br>
<br>
Modified: llvm/trunk/lib/MC/MCContext.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCContext.cpp?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCContext.cpp?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/MC/MCContext.cpp (original)<br>
+++ llvm/trunk/lib/MC/MCContext.cpp Fri Aug 14 08:31:17 2015<br>
@@ -162,13 +162,15 @@ MCSymbol *MCContext::getOrCreateLSDASymb<br>
MCSymbol *MCContext::createSymbolImpl(const StringMapEntry<bool> *Name,<br>
bool IsTemporary) {<br>
if (MOFI) {<br>
- switch (MOFI->getObjectFileType()) {<br>
- case MCObjectFileInfo::IsCOFF:<br>
+ switch (MOFI->getTargetTriple().getObjectFormat()) {<br>
+ case Triple::COFF:<br>
return new (Name, *this) MCSymbolCOFF(Name, IsTemporary);<br>
- case MCObjectFileInfo::IsELF:<br>
+ case Triple::ELF:<br>
return new (Name, *this) MCSymbolELF(Name, IsTemporary);<br>
- case MCObjectFileInfo::IsMachO:<br>
+ case Triple::MachO:<br>
return new (Name, *this) MCSymbolMachO(Name, IsTemporary);<br>
+ case Triple::UnknownObjectFormat:<br>
+ break;<br>
}<br>
}<br>
return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name,<br>
<br>
Modified: llvm/trunk/lib/MC/MCObjectFileInfo.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCObjectFileInfo.cpp?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/MC/MCObjectFileInfo.cpp (original)<br>
+++ llvm/trunk/lib/MC/MCObjectFileInfo.cpp Fri Aug 14 08:31:17 2015<br>
@@ -767,25 +767,19 @@ void MCObjectFileInfo::InitMCObjectFileI<br>
<br>
TT = TheTriple;<br>
<br>
- Triple::ArchType Arch = TT.getArch();<br>
- // FIXME: Checking for Arch here to filter out bogus triples such as<br>
- // cellspu-apple-darwin. Perhaps we should fix in Triple?<br>
- if ((Arch == Triple::x86 || Arch == Triple::x86_64 ||<br>
- Arch == Triple::arm || Arch == Triple::thumb ||<br>
- Arch == Triple::aarch64 ||<br>
- Arch == Triple::ppc || Arch == Triple::ppc64 ||<br>
- Arch == Triple::UnknownArch) &&<br>
- TT.isOSBinFormatMachO()) {<br>
- Env = IsMachO;<br>
+ Triple::ObjectFormatType Format = TT.getObjectFormat();<br>
+ switch (Format) {<br>
+ case Triple::MachO:<br>
initMachOMCObjectFileInfo(TT);<br>
- } else if ((Arch == Triple::x86 || Arch == Triple::x86_64 ||<br>
- Arch == Triple::arm || Arch == Triple::thumb) &&<br>
- (TT.isOSWindows() && TT.getObjectFormat() == Triple::COFF)) {<br>
- Env = IsCOFF;<br>
+ break;<br>
+ case Triple::COFF:<br>
initCOFFMCObjectFileInfo(TT);<br>
- } else {<br>
- Env = IsELF;<br>
+ break;<br>
+ case Triple::ELF:<br>
initELFMCObjectFileInfo(TT);<br>
+ break;<br>
+ case Triple::UnknownObjectFormat:<br>
+ break;<br>
}<br>
}<br>
<br>
@@ -801,7 +795,9 @@ MCSection *MCObjectFileInfo::getDwarfTyp<br>
}<br>
<br>
void MCObjectFileInfo::InitEHFrameSection() {<br>
- if (Env == IsMachO)<br>
+ Triple::ObjectFormatType Format = TT.getObjectFormat();<br>
+ switch (Format) {<br>
+ case Triple::MachO:<br>
EHFrameSection =<br>
Ctx->getMachOSection("__TEXT", "__eh_frame",<br>
MachO::S_COALESCED |<br>
@@ -809,14 +805,20 @@ void MCObjectFileInfo::InitEHFrameSectio<br>
MachO::S_ATTR_STRIP_STATIC_SYMS |<br>
MachO::S_ATTR_LIVE_SUPPORT,<br>
SectionKind::getReadOnly());<br>
- else if (Env == IsELF)<br>
+ break;<br>
+ case Triple::ELF:<br>
EHFrameSection =<br>
Ctx->getELFSection(".eh_frame", EHSectionType, EHSectionFlags);<br>
- else<br>
+ break;<br>
+ case Triple::COFF:<br>
EHFrameSection =<br>
Ctx->getCOFFSection(".eh_frame",<br>
COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |<br>
COFF::IMAGE_SCN_MEM_READ |<br>
COFF::IMAGE_SCN_MEM_WRITE,<br>
SectionKind::getDataRel());<br>
+ break;<br>
+ case Triple::UnknownObjectFormat:<br>
+ break;<br>
+ }<br>
}<br>
<br>
Modified: llvm/trunk/lib/MC/MCParser/AsmParser.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmParser.cpp?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCParser/AsmParser.cpp?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/MC/MCParser/AsmParser.cpp (original)<br>
+++ llvm/trunk/lib/MC/MCParser/AsmParser.cpp Fri Aug 14 08:31:17 2015<br>
@@ -513,17 +513,19 @@ AsmParser::AsmParser(SourceMgr &SM, MCCo<br>
Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());<br>
<br>
// Initialize the platform / file format parser.<br>
- switch (Ctx.getObjectFileInfo()->getObjectFileType()) {<br>
- case MCObjectFileInfo::IsCOFF:<br>
+ switch (Ctx.getObjectFileInfo()->getTargetTriple().getObjectFormat()) {<br>
+ case Triple::COFF:<br>
PlatformParser.reset(createCOFFAsmParser());<br>
break;<br>
- case MCObjectFileInfo::IsMachO:<br>
+ case Triple::MachO:<br>
PlatformParser.reset(createDarwinAsmParser());<br>
IsDarwin = true;<br>
break;<br>
- case MCObjectFileInfo::IsELF:<br>
+ case Triple::ELF:<br>
PlatformParser.reset(createELFAsmParser());<br>
break;<br>
+ case Triple::UnknownObjectFormat:<br>
+ break;<br>
}<br>
<br>
PlatformParser->Initialize(*this);<br>
<br>
Modified: llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp (original)<br>
+++ llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp Fri Aug 14 08:31:17 2015<br>
@@ -4055,10 +4055,10 @@ bool AArch64AsmParser::MatchAndEmitInstr<br>
<br>
/// ParseDirective parses the arm specific directives<br>
bool AArch64AsmParser::ParseDirective(AsmToken DirectiveID) {<br>
- const MCObjectFileInfo::Environment Format =<br>
- getContext().getObjectFileInfo()->getObjectFileType();<br>
- bool IsMachO = Format == MCObjectFileInfo::IsMachO;<br>
- bool IsCOFF = Format == MCObjectFileInfo::IsCOFF;<br>
+ Triple::ObjectFormatType Format =<br>
+ getContext().getObjectFileInfo()->getTargetTriple().getObjectFormat();<br>
+ bool IsMachO = Format == Triple::MachO;<br>
+ bool IsCOFF = Format == Triple::COFF;<br>
<br>
StringRef IDVal = DirectiveID.getIdentifier();<br>
SMLoc Loc = DirectiveID.getLoc();<br>
<br>
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)<br>
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Fri Aug 14 08:31:17 2015<br>
@@ -5173,18 +5173,11 @@ bool ARMAsmParser::parsePrefix(ARMMCExpr<br>
return true;<br>
}<br>
<br>
- enum {<br>
- COFF = (1 << MCObjectFileInfo::IsCOFF),<br>
- ELF = (1 << MCObjectFileInfo::IsELF),<br>
- MACHO = (1 << MCObjectFileInfo::IsMachO)<br>
- };<br>
static const struct PrefixEntry {<br>
const char *Spelling;<br>
ARMMCExpr::VariantKind VariantKind;<br>
- uint8_t SupportedFormats;<br>
} PrefixEntries[] = {<br>
- { "lower16", ARMMCExpr::VK_ARM_LO16, COFF | ELF | MACHO },<br>
- { "upper16", ARMMCExpr::VK_ARM_HI16, COFF | ELF | MACHO },<br>
+ {"lower16", ARMMCExpr::VK_ARM_LO16}, {"upper16", ARMMCExpr::VK_ARM_HI16},<br>
};<br>
<br>
StringRef IDVal = Parser.getTok().getIdentifier();<br>
@@ -5199,25 +5192,6 @@ bool ARMAsmParser::parsePrefix(ARMMCExpr<br>
return true;<br>
}<br>
<br>
- uint8_t CurrentFormat;<br>
- switch (getContext().getObjectFileInfo()->getObjectFileType()) {<br>
- case MCObjectFileInfo::IsMachO:<br>
- CurrentFormat = MACHO;<br>
- break;<br>
- case MCObjectFileInfo::IsELF:<br>
- CurrentFormat = ELF;<br>
- break;<br>
- case MCObjectFileInfo::IsCOFF:<br>
- CurrentFormat = COFF;<br>
- break;<br>
- }<br>
-<br>
- if (~Prefix->SupportedFormats & CurrentFormat) {<br>
- Error(Parser.getTok().getLoc(),<br>
- "cannot represent relocation in the current file format");<br>
- return true;<br>
- }<br>
-<br>
RefKind = Prefix->VariantKind;<br>
Parser.Lex();<br>
<br>
@@ -8691,10 +8665,10 @@ bool ARMAsmParser::MatchAndEmitInstructi<br>
<br>
/// parseDirective parses the arm specific directives<br>
bool ARMAsmParser::ParseDirective(AsmToken DirectiveID) {<br>
- const MCObjectFileInfo::Environment Format =<br>
- getContext().getObjectFileInfo()->getObjectFileType();<br>
- bool IsMachO = Format == MCObjectFileInfo::IsMachO;<br>
- bool IsCOFF = Format == MCObjectFileInfo::IsCOFF;<br>
+ Triple::ObjectFormatType Format =<br>
+ getContext().getObjectFileInfo()->getTargetTriple().getObjectFormat();<br>
+ bool IsMachO = Format == Triple::MachO;<br>
+ bool IsCOFF = Format == Triple::COFF;<br>
<br>
StringRef IDVal = DirectiveID.getIdentifier();<br>
if (IDVal == ".word")<br>
@@ -8859,8 +8833,9 @@ void ARMAsmParser::onLabelParsed(MCSymbo<br>
/// ::= .thumbfunc symbol_name<br>
bool ARMAsmParser::parseDirectiveThumbFunc(SMLoc L) {<br>
MCAsmParser &Parser = getParser();<br>
- const auto Format = getContext().getObjectFileInfo()->getObjectFileType();<br>
- bool IsMachO = Format == MCObjectFileInfo::IsMachO;<br>
+ Triple::ObjectFormatType Format =<br>
+ getContext().getObjectFileInfo()->getTargetTriple().getObjectFormat();<br>
+ bool IsMachO = Format == Triple::MachO;<br>
<br>
// Darwin asm has (optionally) function name after .thumb_func direction<br>
// ELF doesn't<br>
<br>
Modified: llvm/trunk/test/CodeGen/X86/statepoint-stackmap-format.ll<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/statepoint-stackmap-format.ll?rev=245047&r1=245046&r2=245047&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/statepoint-stackmap-format.ll?rev=245047&r1=245046&r2=245047&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/test/CodeGen/X86/statepoint-stackmap-format.ll (original)<br>
+++ llvm/trunk/test/CodeGen/X86/statepoint-stackmap-format.ll Fri Aug 14 08:31:17 2015<br>
@@ -1,5 +1,5 @@<br>
; RUN: llc < %s -mtriple="x86_64-pc-linux-gnu" | FileCheck %s<br>
-; RUN: llc < %s -mtriple="x86_64-pc-win64-coff" | FileCheck %s<br>
+; RUN: llc < %s -mtriple="x86_64-pc-unknown-elf" | FileCheck %s<br>
<br>
; This test is a sanity check to ensure statepoints are generating StackMap<br>
; sections correctly. This is not intended to be a rigorous test of the<br>
<br>
Removed: llvm/trunk/test/MC/COFF/ARM/directive-type-diagnostics.s<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/ARM/directive-type-diagnostics.s?rev=245046&view=auto" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/ARM/directive-type-diagnostics.s?rev=245046&view=auto</a><br>
==============================================================================<br>
--- llvm/trunk/test/MC/COFF/ARM/directive-type-diagnostics.s (original)<br>
+++ llvm/trunk/test/MC/COFF/ARM/directive-type-diagnostics.s (removed)<br>
@@ -1,10 +0,0 @@<br>
-// RUN: not llvm-mc -triple arm-coff -filetype asm -o /dev/null %s 2>&1 | FileCheck %s<br>
-// RUN: not llvm-mc -triple armeb-coff -filetype asm -o /dev/null %s 2>&1 | FileCheck %s<br>
-// RUN: not llvm-mc -triple thumb-coff -filetype asm -o /dev/null %s 2>&1 | FileCheck %s<br>
-// RUN: not llvm-mc -triple thumbeb-coff -filetype asm -o /dev/null %s 2>&1 | FileCheck %s<br>
-<br>
- .type symbol 32<br>
-// CHECK: error: expected STT_<TYPE_IN_UPPER_CASE>, '#<type>', '%<type>' or "<type>"<br>
-// CHECK: .type symbol 32<br>
-// CHECK: ^<br>
-<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>