Skip to content

Commit 4ec4db3

Browse files
author
Kai Luo
committed
Add document for member_name
1 parent 5a7628d commit 4ec4db3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/symbolize/gimli.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,11 @@ struct Cache {
278278
struct Library {
279279
name: OsString,
280280
#[cfg(target_os = "aix")]
281+
/// On AIX, the library mmapped can be a member of an big-archive file.
282+
/// For example, an big-archive named libfoo.a contains libbar.so,
283+
/// one can use `dlopen("libfoo.a(libbar.so)", RTLD_MEMBER | RTLD_LAZY)`
284+
/// to use the `libbar.so` library. In this case, only `libbar.so` is
285+
/// mmapped, not the whole `libfoo.a`.
281286
member_name: OsString,
282287
/// Segments of this library loaded into memory, and where they're loaded.
283288
segments: Vec<LibrarySegment>,

0 commit comments

Comments
 (0)