From: Rafael Espindola Date: Wed, 25 Jun 2014 05:37:58 +0000 (+0000) Subject: Fix another asserting method in the null streamer. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6804d450cdbb7c44c392c7009d1f2c4ca3d04ce6;p=platform%2Fupstream%2Fllvm.git Fix another asserting method in the null streamer. llvm-svn: 211668 --- diff --git a/llvm/lib/MC/MCStreamer.cpp b/llvm/lib/MC/MCStreamer.cpp index fad1425..08f8066 100644 --- a/llvm/lib/MC/MCStreamer.cpp +++ b/llvm/lib/MC/MCStreamer.cpp @@ -567,7 +567,6 @@ void MCStreamer::EmitWin64EHEndProlog() { } void MCStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) { - llvm_unreachable("This file format doesn't support this directive"); } void MCStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol) { diff --git a/llvm/test/DebugInfo/X86/coff_debug_info_type.ll b/llvm/test/DebugInfo/X86/coff_debug_info_type.ll index a0b8ccc..a1051c3 100644 --- a/llvm/test/DebugInfo/X86/coff_debug_info_type.ll +++ b/llvm/test/DebugInfo/X86/coff_debug_info_type.ll @@ -6,6 +6,8 @@ ; RUN: llc -mtriple=i686-pc-win32 -filetype=asm -O0 < %s | FileCheck -check-prefix=WIN32 %s ; WIN32: .section .debug$S,"rnd" +; RUN: llc -mtriple=i686-pc-win32 -filetype=null -O0 < %s + ; generated from: ; clang -g -S -emit-llvm test.c -o test.ll ; int main()