diff --git a/src/scripting/vm/jit_runtime.cpp b/src/scripting/vm/jit_runtime.cpp index 033f449b9..275ad3137 100644 --- a/src/scripting/vm/jit_runtime.cpp +++ b/src/scripting/vm/jit_runtime.cpp @@ -422,15 +422,13 @@ static void WriteCIE(TArray &stream, const TArray &cieInstruct WriteUInt8(stream, 1); // CIE Version WriteUInt8(stream, 'z'); - //WriteUInt8(stream, 'L'); // LSDA (language specific data area) WriteUInt8(stream, 'R'); // fde encoding WriteUInt8(stream, 0); WriteULEB128(stream, 1); WriteSLEB128(stream, -1); WriteULEB128(stream, returnAddressReg); - WriteULEB128(stream, 2); // LEB128 augmentation size - //WriteUInt8(stream, 0xff); // DW_EH_PE_omit (no LSDA) + WriteULEB128(stream, 1); // LEB128 augmentation size WriteUInt8(stream, 0); // DW_EH_PE_absptr (FDE uses absolute pointers) for (unsigned int i = 0; i < cieInstructions.Size(); i++) @@ -496,8 +494,6 @@ static TArray CreateUnwindInfoUnix(asmjit::CCFunc *func, unsigned int & // // See appendix D.6 "Call Frame Information Example" in the DWARF 5 spec. // - // Unofficial description: https://www.airs.com/blog/archives/460 - // // The CFI_Parser::decodeFDE parser on the other side.. // https://github.com/llvm-mirror/libunwind/blob/master/src/DwarfParser.hpp