commit | 94d8e02d3390ac02a3bb69253a3f278852821944 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Sat Aug 13 00:53:05 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sat Aug 13 00:53:05 2022 +0000 |
tree | 31cb61cb3264527d2adf6694160d9b88fad1f735 | |
parent | d3c7700aa084b0bae1d1c0fb8dfb46895bda7813 [diff] | |
parent | 4b84644ac12b130f8d1ce6c716f4e4fe8354c773 [diff] |
Merge "Adjust the calculation method of pc"
diff --git a/libc/malloc_debug/MapData.cpp b/libc/malloc_debug/MapData.cpp index ded81a2..b22c109 100644 --- a/libc/malloc_debug/MapData.cpp +++ b/libc/malloc_debug/MapData.cpp
@@ -210,7 +210,7 @@ } } } - *rel_pc = pc - entry->start + entry->load_bias; + *rel_pc = pc - entry->start + entry->offset + entry->load_bias; } return entry; }