Commit 45c5ad7
src: refine maps parsing for large pages
Multiple sections may be marked as "r-xp" and with the executable's
path. We use the location of the `__nodetext` symbol added by the linker
script to ensure that the range we retrieve from the maps file does
indeed contain the Node.js text section.
Thanks to Suresh Srinivas <suresh.srinivas@intel.com>!
PR-URL: #29973
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>1 parent 3e39909 commit 45c5ad7Copy full SHA for 45c5ad7
File tree
Expand file treeCollapse file tree
1 file changed
+16
-14
lines changedOpen diff view settings
Filter options
- src/large_pages
Expand file treeCollapse file tree
1 file changed
+16
-14
lines changedOpen diff view settings
Collapse file
src/large_pages/node_large_page.cc
Copy file name to clipboardExpand all lines: src/large_pages/node_large_page.cc+16-14Lines changed: 16 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
83 | 83 | |
84 | 84 | |
85 | 85 | |
86 | | - |
| 86 | + |
87 | 87 | |
88 | 88 | |
89 | 89 | |
90 | | - |
| 90 | + |
91 | 91 | |
92 | 92 | |
93 | 93 | |
| ||
103 | 103 | |
104 | 104 | |
105 | 105 | |
106 | | - |
| 106 | + |
107 | 107 | |
108 | 108 | |
109 | 109 | |
| ||
138 | 138 | |
139 | 139 | |
140 | 140 | |
141 | | - |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
151 | 154 | |
152 | | - |
153 | 155 | |
154 | 156 | |
155 | 157 | |
|
0 commit comments