Skip to content

Commit 7f7df06

Browse files
committed
Updated date to April 2.
modified: doc/libdwarf.dox modified: doc/libdwarf.pdf Added fuller explanation of the use of shell envronment variable 'DWARF_WHICH_ALLOC' to influence the use of malloc() vs mmap(). mmap() is only usable (in this release) on Elf object files. modified: src/lib/libdwarf/libdwarf.h
1 parent 61e39cf commit 7f7df06

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc/libdwarf.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@tableofcontents{HTML:3,LaTeX:3}
44
@author David Anderson
55
@copyright This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
6-
@date 2025-03-19 v0.12.0
6+
@date 2025-04-02 v0.12.0
77

88
@section draft Suggestions for improvement are welcome.
99

doc/libdwarf.pdf

1.8 KB
Binary file not shown.

src/lib/libdwarf/libdwarf.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9868,12 +9868,13 @@ DW_API int dwarf_object_detector_fd(int dw_fd,
98689868
98699869
The default allocation preference is mmap.
98709870
9871-
The environment variable DWARF_WHICH_ALLOC
9871+
The shell environment variable DWARF_WHICH_ALLOC
98729872
is also involved at runtime.
98739873
If the value is 'malloc' then use of read/malloc
98749874
is preferred.
98759875
If the value is 'mmap' then use of mmap is
9876-
preferred.
9876+
preferred (Example: 'export DWARF_WHICH_ALLOC=mmap').
9877+
Otherwise, the environment value is checked and ignored.
98779878
98789879
If present and valid this environment variable
98799880
takes precedence over

0 commit comments

Comments
 (0)