commit | 34fa5a50cc25664685030991fda15e7c69ecef23 | [log] [tgz] |
---|---|---|
author | philippe <philippe@8f6e269a-dfd6-0310-a8e1-e2731360e62c> | Fri Jan 18 06:15:44 2013 +0000 |
committer | philippe <philippe@8f6e269a-dfd6-0310-a8e1-e2731360e62c> | Fri Jan 18 06:15:44 2013 +0000 |
tree | f233ea2aa8890bda9f5f12b0fdf063987a85eea0 | |
parent | cfe046e178666280b87da998b1b52ecda03ecd89 [diff] |
Add a vg_alignof macro Note that this macro behaves slightly differently for some types from the gcc __alignof__ and from the equivalent (new) standardised alignof. vg_alignof macro is needed for the "perm_malloc" callers (next commit) to determine the alignment of small blocks, but might be useful for other purposes => placed in libvex_basictypes.h, close to offsetof. git-svn-id: svn://svn.valgrind.org/vex/trunk@2643 8f6e269a-dfd6-0310-a8e1-e2731360e62c