Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGireesh Punathil <gpunathi@in.ibm.com>2018-12-04 09:23:07 +0300
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2018-12-18 02:54:07 +0300
commitd0270f3a5c40a621329cea201c3dbe393971539c (patch)
tree90208caaff79f550df9455eaacc6360890902fce /src/debug_utils.h
parentdbdea36190d45438854cf97ce788b669b06b7cc0 (diff)
src: add GetLoadedLibraries routine
Add a static function GetLoadedLibraries under NativeSymbolDebuggingContext abstraction that provides a list of shared objects - either the current process depended on or loaded. PR-URL: https://github.com/nodejs/node/pull/24825 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/debug_utils.h')
-rw-r--r--src/debug_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug_utils.h b/src/debug_utils.h
index c6c8e03b51f..034d8a9ab33 100644
--- a/src/debug_utils.h
+++ b/src/debug_utils.h
@@ -113,6 +113,7 @@ class NativeSymbolDebuggingContext {
= delete;
NativeSymbolDebuggingContext operator=(NativeSymbolDebuggingContext&&)
= delete;
+ static std::vector<std::string> GetLoadedLibraries();
};
// Variant of `uv_loop_close` that tries to be as helpful as possible