mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
ARM64: Allow building with unwinding disabled.
This commit is contained in:
parent
50936d7844
commit
5677985dc1
@ -3988,6 +3988,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
"\t.align 3\n"
|
"\t.align 3\n"
|
||||||
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
|
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
|
||||||
#endif
|
#endif
|
||||||
|
#if !LJ_NO_UNWIND
|
||||||
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",%%progbits\n");
|
fprintf(ctx->fp, "\t.section .eh_frame,\"a\",%%progbits\n");
|
||||||
fprintf(ctx->fp,
|
fprintf(ctx->fp,
|
||||||
".Lframe1:\n"
|
".Lframe1:\n"
|
||||||
@ -4055,6 +4056,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
"\t.byte 0x94\n\t.uleb128 4\n" /* offset x20 */
|
"\t.byte 0x94\n\t.uleb128 4\n" /* offset x20 */
|
||||||
"\t.align 3\n"
|
"\t.align 3\n"
|
||||||
".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
|
".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
#if !LJ_NO_UNWIND
|
#if !LJ_NO_UNWIND
|
||||||
|
Loading…
Reference in New Issue
Block a user