has lldb wrong alignment ?
has lldb wrong alignment ?
- Subject: has lldb wrong alignment ?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Tue, 17 Apr 2012 21:04:10 +0700
Using lldb I am told that sizeof(vm_region_submap_info_data_64_t) is 72.
(defined in mach/vm_region.h).
The compiler (and gdb) both have 64 bytes.
If 8-byte entities are aligned on a 8 byte boundary, and structures are a multiple of 8 then 72 is correct.
If 8-byte entities are aligned on a 4 byte boundary, and structures are a multiple of 4 then 64 is correct.
This is an ARC program → 64-Bit.
Xcode 4.3.2 10.7.3
Kind regards,
Gerriet.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden