[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50301: [PATCH] memory-report: support calculating size for structure
From: |
yikai |
Subject: |
bug#50301: [PATCH] memory-report: support calculating size for structures |
Date: |
Wed, 01 Sep 2021 00:11:18 +0800 |
Tags: patch
Tags: patch
(already sent to emacs-devel mailing list, re-submit using submit-emacs-patch)
Here's another patch on memory-report package which fixes the object
size calculation for structures (cl-defstruct types). Before this patch,
memory-report--object-size will report empty size for structure objects,
which results in incorrect report about "Largest Variables" in
memory-report result.
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo
version 1.17.4)
of 2021-08-20 built on lilydjwg
Repository revision: 657fe8b9d87dd17d9b50dd8e15bfd917c6c630b2
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Arch Linux
Configured using:
'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
--localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
--with-sound=alsa --with-modules --without-gconf --without-gsettings
--enable-link-time-optimization --with-native-compilation
--with-x-toolkit=gtk3 --without-xaw3d --without-compress-install
'--program-transform-name=s/\([ec]tags\)/\1.emacs/'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -flto
-fuse-linker-plugin' CPPFLAGS=-D_FORTIFY_SOURCE=2
LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
0001-memory-report-support-calculating-size-for-structure.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#50301: [PATCH] memory-report: support calculating size for structures,
yikai <=