mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix a regression from r211653.
The method was empty in the null streamer but I mistakenly replaced it with the aborting one in MCStreamer. llvm-svn: 211666
This commit is contained in:
parent
fdee168275
commit
f314cd4f5f
@ -571,7 +571,6 @@ void MCStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) {
|
||||
}
|
||||
|
||||
void MCStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol) {
|
||||
llvm_unreachable("This file format doesn't support this directive");
|
||||
}
|
||||
|
||||
/// EmitRawText - If this file is backed by an assembly streamer, this dumps
|
||||
|
@ -1,6 +1,7 @@
|
||||
; Check the MCNullStreamer operates correctly, at least on a minimal test case.
|
||||
;
|
||||
; RUN: llc -filetype=null -o %t -march=x86 %s
|
||||
; RUN: llc -filetype=null -o %t -mtriple=i686-cygwin %s
|
||||
|
||||
define void @f0() {
|
||||
ret void
|
||||
@ -9,3 +10,20 @@ define void @f0() {
|
||||
define void @f1() {
|
||||
ret void
|
||||
}
|
||||
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!11, !13}
|
||||
|
||||
!0 = metadata !{i32 786449, metadata !1, i32 4, metadata !" ", i1 true, metadata !"", i32 0, metadata !2, metadata !2, metadata !3, metadata !9, metadata !2, metadata !""}
|
||||
!1 = metadata !{metadata !"", metadata !""}
|
||||
!2 = metadata !{}
|
||||
!3 = metadata !{metadata !4}
|
||||
!4 = metadata !{i32 786478, metadata !1, metadata !5, metadata !"", metadata !"", metadata !"", i32 2, metadata !6, i1 false, i1 true, i32 0, i32 0, null, i32 256, i1 true, i32 ()* null, null, null, metadata !2, i32 2}
|
||||
!5 = metadata !{i32 786473, metadata !1}
|
||||
!6 = metadata !{i32 786453, i32 0, null, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !7, i32 0, null, null, null}
|
||||
!7 = metadata !{metadata !8}
|
||||
!8 = metadata !{i32 786468, null, null, metadata !"", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5}
|
||||
!9 = metadata !{metadata !10}
|
||||
!10 = metadata !{i32 786484, i32 0, null, metadata !"i", metadata !"i", metadata !"_ZL1i", metadata !5, i32 1, metadata !8, i32 1, i32 1, null, null}
|
||||
!11 = metadata !{i32 2, metadata !"Dwarf Version", i32 3}
|
||||
!13 = metadata !{i32 1, metadata !"Debug Info Version", i32 1}
|
||||
|
Loading…
Reference in New Issue
Block a user