diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-25 05:37:58 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-25 05:37:58 +0000 |
commit | aa2e057bc108c32529815afb8be4ef090acddd94 (patch) | |
tree | e5e4eb4e1cce97aa9152b0d562b4d5fe88862510 | |
parent | 5178d868c8871f4bce4c6bc6643d41e44cad41f5 (diff) | |
download | llvm-aa2e057bc108c32529815afb8be4ef090acddd94.tar.gz llvm-aa2e057bc108c32529815afb8be4ef090acddd94.tar.bz2 llvm-aa2e057bc108c32529815afb8be4ef090acddd94.tar.xz |
Fix another asserting method in the null streamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211668 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/MC/MCStreamer.cpp | 1 | ||||
-rw-r--r-- | test/DebugInfo/X86/coff_debug_info_type.ll | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp index fad1425dd1..08f8066652 100644 --- a/lib/MC/MCStreamer.cpp +++ b/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/test/DebugInfo/X86/coff_debug_info_type.ll b/test/DebugInfo/X86/coff_debug_info_type.ll index a0b8ccc6ec..a1051c39bf 100644 --- a/test/DebugInfo/X86/coff_debug_info_type.ll +++ b/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() |