ObjFW  Diff

Differences From Artifact [00f195dbf4]:

To Artifact [a59476cee6]:


274
275
276
277
278
279
280
281
282


283
284
285
286
287
288
289
274
275
276
277
278
279
280


281
282
283
284
285
286
287
288
289







-
-
+
+







	const uint8_t *oldPtr = *ptr;
	uint8_t bits;
	int64_t value;

	value = readULEB128(ptr);
	bits = (*ptr - oldPtr) * 7;

	if (bits < 64 && value & (1 << (bits - 1)))
		value |= -(1 << bits);
	if (bits < 64 && value & (INT64_C(1) << (bits - 1)))
		value |= -(INT64_C(1) << bits);

	return value;
}

static uintptr_t
getBase(struct _Unwind_Context *ctx, uint8_t enc)
{