Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: src/untrusted/pll_loader/pll_loader.h

Issue 1825893002: PNaCl Dynamic Linking: Added portable dependencies to shared objects. (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Bumping Feature Version Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pnacl/driver/pnacl-ld.py ('k') | src/untrusted/pll_loader/pll_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/pll_loader/pll_loader.h
diff --git a/src/untrusted/pll_loader/pll_loader.h b/src/untrusted/pll_loader/pll_loader.h
index 233b937f56d9f4b6563183ba72937053cb4f9dca..7157594303739fe95521f2fc286f4c1c18b2e212 100644
--- a/src/untrusted/pll_loader/pll_loader.h
+++ b/src/untrusted/pll_loader/pll_loader.h
@@ -47,13 +47,15 @@ class ModuleSet {
public:
// Load a PLL by filename. Does not add the filename to a known set of loaded
// modules, and will not de-duplicate loading modules.
- void AddByFilename(const char *filename);
+ // Returns a pointer to the PLL's pso_root.
+ PLLRoot *AddByFilename(const char *filename);
// Change the search path used by the linker when looking for PLLs by soname.
void SetSonameSearchPath(const std::vector<std::string> &dir_list);
// Load a PLL by soname and add the soname to the set of loaded modules.
- void AddBySoname(const char *soname);
+ // Returns a pointer to the PLL's pso_root if it is loaded, NULL otherwise.
+ PLLRoot *AddBySoname(const char *soname);
// Looks up a symbol in the set of modules. This does a linear search of
// the modules, in the order that they were added using AddByFilename().
« no previous file with comments | « pnacl/driver/pnacl-ld.py ('k') | src/untrusted/pll_loader/pll_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698