From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1705 invoked by alias); 30 Nov 2016 13:18:12 -0000 Mailing-List: contact libabigail-help@sourceware.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: libabigail-owner@sourceware.org Received: (qmail 1448 invoked by uid 48); 30 Nov 2016 13:17:59 -0000 From: "dodji at redhat dot com" To: libabigail@sourceware.org Subject: [Bug default/20887] New: Show relative change of offset Date: Fri, 01 Jan 2016 00:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: dodji at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q4/txt/msg00014.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20887 Bug ID: 20887 Summary: Show relative change of offset Product: libabigail Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: default Assignee: dodji at redhat dot com Reporter: dodji at redhat dot com CC: libabigail at sourceware dot org Target Milestone: --- This enhancement request was filed downstream at https://bugzilla.redhat.com/show_bug.cgi?id=3D1382711. I am pasting the co= ntent of that bug here: It would be handy to see relative change of offset when a data member chang= es its offset in a data structure. Right now we get for example this: 1 data member deletion: 'FT_Generic FT_LibraryRec_::generic', at offset 64 (in bits) at ftobjs.h:816:1 11 data member changes: 'FT_Int FT_LibraryRec_::version_major' offset changed from 192 to 64 (in b= its) 'FT_Int FT_LibraryRec_::version_minor' offset changed from 224 to 96 (in b= its) 'FT_Int FT_LibraryRec_::version_patch' offset changed from 256 to 128 (in bits) 'FT_UInt FT_LibraryRec_::num_modules' offset changed from 288 to 160 (in b= its) 'FT_Module FT_LibraryRec_::modules[32]' offset changed from 320 to 192 (in bits) 'FT_ListRec FT_LibraryRec_::renderers' offset changed from 2368 to 2240 (in bits) 'FT_Renderer FT_LibraryRec_::cur_renderer' offset changed from 2496 to 2368 (in bits) 'FT_Module FT_LibraryRec_::auto_hinter' offset changed from 2560 to 2432 (= in bits) 'FT_Byte* FT_LibraryRec_::raster_pool' offset changed from 2624 to 2496 (in bits) 'FT_ULong FT_LibraryRec_::raster_pool_size' offset changed from 2688 to 25= 60 (in bits) 'FT_DebugHook_Func FT_LibraryRec_::debug_hooks[4]' offset changed from 275= 2 to 2624 (in bits) It would be great if I could see there something like this: 1 data member deletion: 'FT_Generic FT_LibraryRec_::generic', at offset 64 (in bits) at ftobjs.h:816:1 11 data member changes: 'FT_Int FT_LibraryRec_::version_major' offset changed from 192 to 64 (by 1= 28 bits) 'FT_Int FT_LibraryRec_::version_minor' offset changed from 224 to 96 (by 1= 28 bits) 'FT_Int FT_LibraryRec_::version_patch' offset changed from 256 to 128 (by = 128 bits) 'FT_UInt FT_LibraryRec_::num_modules' offset changed from 288 to 160 (by 1= 28 bits) 'FT_Module FT_LibraryRec_::modules[32]' offset changed from 320 to 192 (by= 128 bits) 'FT_ListRec FT_LibraryRec_::renderers' offset changed from 2368 to 2240 (by 128 bits) 'FT_Renderer FT_LibraryRec_::cur_renderer' offset changed from 2496 to 2368 (by 128 bits) 'FT_Module FT_LibraryRec_::auto_hinter' offset changed from 2560 to 2432 (= by 128 bits) 'FT_Byte* FT_LibraryRec_::raster_pool' offset changed from 2624 to 2496 (by 128 bits) 'FT_ULong FT_LibraryRec_::raster_pool_size' offset changed from 2688 to 25= 60 (by 128 bits) 'FT_DebugHook_Func FT_LibraryRec_::debug_hooks[4]' offset changed from 275= 2 to 2624 (by 128 bits) This would indicate to me that this changes are caused by the deletion of t= he member "generic". But if there would be another change, I would see that in change of the relative change more easily. --=20 You are receiving this mail because: You are on the CC list for the bug.