mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-20 20:38:48 +00:00
MC: Fix the MCNullStreamer which was broken in r147763.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151213 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02634be4d4
commit
c9addc4010
@ -95,6 +95,10 @@ namespace {
|
|||||||
virtual void EmitInstruction(const MCInst &Inst) {}
|
virtual void EmitInstruction(const MCInst &Inst) {}
|
||||||
|
|
||||||
virtual void FinishImpl() {}
|
virtual void FinishImpl() {}
|
||||||
|
|
||||||
|
virtual void EmitCFIEndProcImpl(MCDwarfFrameInfo &Frame) {
|
||||||
|
RecordProcEnd(Frame);
|
||||||
|
}
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
};
|
};
|
||||||
|
11
test/CodeGen/X86/null-streamer.ll
Normal file
11
test/CodeGen/X86/null-streamer.ll
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
; Check the MCNullStreamer operates correctly, at least on a minimal test case.
|
||||||
|
;
|
||||||
|
; RUN: llc -filetype=null -o %t -march=x86 %s
|
||||||
|
|
||||||
|
define void @f0() {
|
||||||
|
ret void
|
||||||
|
}
|
||||||
|
|
||||||
|
define void @f1() {
|
||||||
|
ret void
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user