Skip to content

Commit 8614e48

Browse files
author
Kai Luo
committed
Add documentation link
1 parent c176648 commit 8614e48

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/symbolize/gimli/xcoff.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,10 @@ impl<'a> Object<'a> {
159159
if (sym.address..sym.address + sym.size).contains(&addr) {
160160
// On AIX, for a function call, for example, `foo()`, we have
161161
// two symbols `foo` and `.foo`. `foo` references the function
162-
// descriptor and `.foo` references the function entry. We trim
163-
// the prefix `.` here, so that the rust demangler can work
162+
// descriptor and `.foo` references the function entry.
163+
// See https://www.ibm.com/docs/en/xl-fortran-aix/16.1.0?topic=calls-linkage-convention-function
164+
// for more information.
165+
// We trim the prefix `.` here, so that the rust demangler can work
164166
// properly.
165167
Some(sym.name.trim_start_matches(".").as_bytes())
166168
} else {

0 commit comments

Comments
 (0)