libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] [PATCH] dwarf: allocate a debug frame index table with


From: Sergey Korolev
Subject: [Libunwind-devel] [PATCH] dwarf: allocate a debug frame index table with mmap()
Date: Sat, 23 Jun 2018 11:36:32 +0300

By analogy with "dwarf: do not allocate in load_debug_frame (#72)"
avoid to call realloc(). An index table is also created infrequently
and freed in unw_flush_cache() only.
    
The main idea of the patch is to calculate an index table size first
and then allocate a whole memory region.

Attachment: dwarf-allocate-a-debug-frame-index-table-with-mmap.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]