mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add a method to set compact unwind encoding information in a frame.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d36534d22
commit
d967578a8c
@ -470,6 +470,7 @@ namespace llvm {
|
||||
void EmitDwarfSetLineAddr(int64_t LineDelta, const MCSymbol *Label,
|
||||
int PointerSize);
|
||||
|
||||
virtual void EmitCompactUnwindEncoding(uint32_t CompactUnwindEncoding);
|
||||
virtual void EmitCFISections(bool EH, bool Debug);
|
||||
virtual void EmitCFIStartProc();
|
||||
virtual void EmitCFIEndProc();
|
||||
|
@ -177,6 +177,12 @@ void MCStreamer::EmitLabel(MCSymbol *Symbol) {
|
||||
LastNonPrivate = Symbol;
|
||||
}
|
||||
|
||||
void MCStreamer::EmitCompactUnwindEncoding(uint32_t CompactUnwindEncoding) {
|
||||
EnsureValidFrame();
|
||||
MCDwarfFrameInfo *CurFrame = getCurrentFrameInfo();
|
||||
CurFrame->CompactUnwindEncoding = CompactUnwindEncoding;
|
||||
}
|
||||
|
||||
void MCStreamer::EmitCFISections(bool EH, bool Debug) {
|
||||
assert(EH || Debug);
|
||||
EmitEHFrame = EH;
|
||||
|
Loading…
Reference in New Issue
Block a user