mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-03 02:31:26 +00:00
Revert r206565 (and r206566 which updated tests).
This commit was attributed to a different person from the person who posted the patch to the list, and the person who posted it the list claimed when they did that they were not the author, but that the author was yet a third person. I don't know what is going on here, but reverting until the attribution is clear and the author has explicitly contributed the patch. Also, the review hasn't really involved any of the MC maintainers and that seems questionable too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206576 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb96efa7dd
commit
64eed05a3a
@ -1257,17 +1257,14 @@ void MCAsmStreamer::EmitWin64EHHandlerData() {
|
||||
void MCAsmStreamer::EmitWin64EHPushReg(unsigned Register) {
|
||||
MCStreamer::EmitWin64EHPushReg(Register);
|
||||
|
||||
OS << "\t.seh_pushreg ";
|
||||
EmitRegisterName(Register);
|
||||
OS << "\t.seh_pushreg " << Register;
|
||||
EmitEOL();
|
||||
}
|
||||
|
||||
void MCAsmStreamer::EmitWin64EHSetFrame(unsigned Register, unsigned Offset) {
|
||||
MCStreamer::EmitWin64EHSetFrame(Register, Offset);
|
||||
|
||||
OS << "\t.seh_setframe ";
|
||||
EmitRegisterName(Register);
|
||||
OS << ", " << Offset;
|
||||
OS << "\t.seh_setframe " << Register << ", " << Offset;
|
||||
EmitEOL();
|
||||
}
|
||||
|
||||
@ -1281,18 +1278,14 @@ void MCAsmStreamer::EmitWin64EHAllocStack(unsigned Size) {
|
||||
void MCAsmStreamer::EmitWin64EHSaveReg(unsigned Register, unsigned Offset) {
|
||||
MCStreamer::EmitWin64EHSaveReg(Register, Offset);
|
||||
|
||||
OS << "\t.seh_savereg ";
|
||||
EmitRegisterName(Register);
|
||||
OS << ", " << Offset;
|
||||
OS << "\t.seh_savereg " << Register << ", " << Offset;
|
||||
EmitEOL();
|
||||
}
|
||||
|
||||
void MCAsmStreamer::EmitWin64EHSaveXMM(unsigned Register, unsigned Offset) {
|
||||
MCStreamer::EmitWin64EHSaveXMM(Register, Offset);
|
||||
|
||||
OS << "\t.seh_savexmm ";
|
||||
EmitRegisterName(Register);
|
||||
OS << ", " << Offset;
|
||||
OS << "\t.seh_savexmm " << Register << ", " << Offset;
|
||||
EmitEOL();
|
||||
}
|
||||
|
||||
|
@ -3,10 +3,10 @@
|
||||
# CHECK: .seh_proc func
|
||||
# CHECK: .seh_pushframe @code
|
||||
# CHECK: .seh_stackalloc 24
|
||||
# CHECK: .seh_savereg %rbp, 16
|
||||
# CHECK: .seh_savexmm %r8, 0
|
||||
# CHECK: .seh_pushreg %rbx
|
||||
# CHECK: .seh_setframe %rbx, 0
|
||||
# CHECK: .seh_savereg 6, 16
|
||||
# CHECK: .seh_savexmm 8, 0
|
||||
# CHECK: .seh_pushreg 3
|
||||
# CHECK: .seh_setframe 3, 0
|
||||
# CHECK: .seh_endprologue
|
||||
# CHECK: .seh_handler __C_specific_handler, @except
|
||||
# CHECK-NOT: .section{{.*}}.xdata
|
||||
|
Loading…
x
Reference in New Issue
Block a user