diff options
author | Po Lu <luangruo@yahoo.com> | 2025-03-29 14:45:38 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2025-03-29 14:45:38 +0800 |
commit | 2b7a72b1177a057813f40aacc24fd0cd71f5903a (patch) | |
tree | f97e349b290a1c718560228a92a0a2f1d9e8bcf3 /lib/scratch_buffer.h | |
parent | 8a986e7075dc83c0b87f0928ba767215c3c6a377 (diff) | |
download | emacs-2b7a72b1177a057813f40aacc24fd0cd71f5903a.tar.gz emacs-2b7a72b1177a057813f40aacc24fd0cd71f5903a.tar.bz2 emacs-2b7a72b1177a057813f40aacc24fd0cd71f5903a.zip |
Do not redundantly dump constant forwarding objects
* src/pdumper.c (dump_fwd_int, dump_fwd_bool, dump_fwd_obj): Do
not redundantly dump constant forwarding descriptors; restrict
to dumping the objects being forwarded to.
(dump_fwd_buffer_obj): Copy from the dump file into bss rather
than load buffer forwarding descriptors from the dump file
itself.
(dump_fwd_kboard_obj): Delete function.
(dump_fwd): Don't return offset of dumped objects.
(dump_blv): Adjust correspondingly.
(dump_pre_dump_symbol): Improve documentation. Record offset of
forwarding objects in relation to `emacs_basis' rather than the
dump file.
(dump_symbol): Restore forwarding descriptors to their original
values as static variables in Emacs. This reduces the size of
dump files by an insignificant 2kb but facilitates certain kinds
of watchpoints on platforms where ASLR cannot be disabled, e.g.,
Android.
Diffstat (limited to 'lib/scratch_buffer.h')
0 files changed, 0 insertions, 0 deletions