ObjFW  Check-in [51beeb9808]

Overview
Comment:exception.m: Fix wrong type size.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 51beeb9808efd1cf4d7102916bdb349d649ec38dab0a04d35d7478d03654b746
User & Date: js on 2013-07-15 21:04:24
Other Links: manifest | tags
Context
2013-07-23
20:46
configure: Fix warning about missing spinlocks. check-in: 26f6bd3396 user: js tags: trunk
2013-07-15
21:04
exception.m: Fix wrong type size. check-in: 51beeb9808 user: js tags: trunk
00:10
OFConstantString: _cStringLength -> unsigned int. check-in: 5171307598 user: js tags: trunk
Changes

Modified src/runtime/exception.m from [337aac59db] to [411c032d6c].

311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
{
	if (value == 0)
		return 0;

	value += ((enc & 0x70) == DW_EH_PE_pcrel ? (uintptr_t)start : base);

	if (enc & DW_EH_PE_indirect)
		value = *(uint64_t*)(uintptr_t)value;

	return value;
}
#endif

static void
read_lsda(struct _Unwind_Context *ctx, const uint8_t *ptr, struct lsda *lsda)







|







311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
{
	if (value == 0)
		return 0;

	value += ((enc & 0x70) == DW_EH_PE_pcrel ? (uintptr_t)start : base);

	if (enc & DW_EH_PE_indirect)
		value = *(uintptr_t*)(uintptr_t)value;

	return value;
}
#endif

static void
read_lsda(struct _Unwind_Context *ctx, const uint8_t *ptr, struct lsda *lsda)