summaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
authorMike Pall <mike>2023-08-12 22:25:40 +0200
committerMike Pall <mike>2023-08-12 22:25:40 +0200
commit27af72e66f6a285298d1a9be370779aae945eb14 (patch)
tree5b12777dac86ab8afbdfd337af020f1d1da0f044 /src/lj_jit.h
parent117ddf35e6ef1bb9016881f828337677db493cee (diff)
downloadluajit-27af72e66f6a285298d1a9be370779aae945eb14.tar.gz
luajit-27af72e66f6a285298d1a9be370779aae945eb14.tar.bz2
luajit-27af72e66f6a285298d1a9be370779aae945eb14.zip
ARM64: Add support for ARM64e pointer authentication codes (PAC).
Contributed by Peter Cawley. #559
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index 7f081730..0fae60ad 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -273,6 +273,9 @@ typedef struct GCtrace {
273 BCIns startins; /* Original bytecode of starting instruction. */ 273 BCIns startins; /* Original bytecode of starting instruction. */
274 MSize szmcode; /* Size of machine code. */ 274 MSize szmcode; /* Size of machine code. */
275 MCode *mcode; /* Start of machine code. */ 275 MCode *mcode; /* Start of machine code. */
276#if LJ_ABI_PAUTH
277 ASMFunction mcauth; /* Start of machine code, with ptr auth applied. */
278#endif
276 MSize mcloop; /* Offset of loop start in machine code. */ 279 MSize mcloop; /* Offset of loop start in machine code. */
277 uint16_t nchild; /* Number of child traces (root trace only). */ 280 uint16_t nchild; /* Number of child traces (root trace only). */
278 uint16_t spadjust; /* Stack pointer adjustment (offset in bytes). */ 281 uint16_t spadjust; /* Stack pointer adjustment (offset in bytes). */