src: refine maps parsing for large pages · nodejs/node@45c5ad7 · GitHub
Skip to content

Commit 45c5ad7

Browse files
Gabriel Schulhoftargos
authored andcommitted
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 45c5ad7

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

src/large_pages/node_large_page.cc

Lines changed: 16 additions & 14 deletions

0 commit comments

Comments
 (0)