forked from OSchip/llvm-project
[AIX][XCOFF][BUG-Fixed] need to switch back to text section after emit a dumy eh structure
Summary: in the patch https://reviews.llvm.org/D103651 [AIX][XCOFF] generate eh_info when vector registers are saved according to the traceback table. when generate eh_info, it switch to other section, when it done, it need to switch back to text section again. Reviewers: Jason Liu Differential Revision: https://reviews.llvm.org/105195
This commit is contained in:
parent
59fa435ea6
commit
9a9e6189d7
|
@ -1928,6 +1928,7 @@ void PPCAIXAsmPrinter::emitFunctionBodyEnd() {
|
|||
|
||||
OutStreamer->emitIntValue(0, PointerSize);
|
||||
OutStreamer->emitIntValue(0, PointerSize);
|
||||
OutStreamer->SwitchSection(MF->getSection());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -90,6 +90,8 @@ entry:
|
|||
; COMMON-NEXT: .align 2
|
||||
; COMMON-NEXT: .vbyte 4, 0
|
||||
; COMMON-NEXT: .vbyte 4, 0
|
||||
; CHECK-ASM-NEXT: .csect .text[PR],2
|
||||
; CHECK-FUNC-NEXT: .csect .foov[PR],2
|
||||
; COMMON-NEXT: # -- End function
|
||||
; COMMON: .toc
|
||||
; COMMON: L..C2:
|
||||
|
|
Loading…
Reference in New Issue