mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 13:00:50 +00:00
Print the label if we will use it in debug_frame.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
116da2fbe9
commit
fea8fea583
@ -593,10 +593,13 @@ static bool EmitDebugValueComment(const MachineInstr *MI, AsmPrinter &AP) {
|
||||
|
||||
void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
|
||||
MCSymbol *Label = MI.getOperand(0).getMCSymbol();
|
||||
if (MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI) {
|
||||
|
||||
if (MAI->doesDwarfRequireFrameSection() ||
|
||||
MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI)
|
||||
OutStreamer.EmitLabel(Label);
|
||||
|
||||
if (MAI->getExceptionHandlingType() != ExceptionHandling::DwarfCFI)
|
||||
return;
|
||||
}
|
||||
|
||||
const MachineFunction &MF = *MI.getParent()->getParent();
|
||||
MachineModuleInfo &MMI = MF.getMMI();
|
||||
|
Loading…
Reference in New Issue
Block a user