mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +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:
1 parent
02634be4d4
commit
c9addc4010
2 files changed
+15
No files matched your search
@@ -95,6 +95,10 @@ namespace {
|
||||
virtual void EmitInstruction(const MCInst &Inst) {}
|
||||
|
||||
virtual void FinishImpl() {}
|
||||
|
||||
virtual void EmitCFIEndProcImpl(MCDwarfFrameInfo &Frame) {
|
||||
RecordProcEnd(Frame);
|
||||
}
|
||||
|
||||
/// @}
|
||||
};
|
||||
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user