mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Move the EH symbol to the asm printer and use it for the SJLJ case too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -88,8 +88,6 @@ void DwarfCFIException::endModule() {
|
||||
}
|
||||
|
||||
void DwarfCFIException::beginFunction(const MachineFunction *MF) {
|
||||
DwarfCFIExceptionBase::beginFunction(MF);
|
||||
|
||||
shouldEmitMoves = shouldEmitPersonality = shouldEmitLSDA = false;
|
||||
|
||||
// If any landing pads survive, we need an EH table.
|
||||
@@ -133,7 +131,7 @@ void DwarfCFIException::beginFunction(const MachineFunction *MF) {
|
||||
if (!shouldEmitLSDA)
|
||||
return;
|
||||
|
||||
Asm->OutStreamer.EmitCFILsda(getCurExceptionSym(), LSDAEncoding);
|
||||
Asm->OutStreamer.EmitCFILsda(Asm->getCurExceptionSym(), LSDAEncoding);
|
||||
}
|
||||
|
||||
/// endFunction - Gather and emit post-function exception information.
|
||||
|
||||
Reference in New Issue
Block a user