MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / path

Method path

src/dynamic_loader.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81};
82
83fs::path dynamic_loader::path(void* address)
84{
85 fs::path p;
86 Dl_info info;
87 // Find the location of .so
88 if(dladdr(address, &info) != 0)
89 p = info.dli_fname;
90 return p;
91}
92
93#else
94

Callers 1

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected