| 59 | |
| 60 | |
| 61 | std::string DebugModule::GetPathBaseName(const std::string& path) |
| 62 | { |
| 63 | #ifdef WIN32 |
| 64 | // TODO: someone please write it on Windows! |
| 65 | char baseName[MAX_PATH]; |
| 66 | _splitpath(path.c_str(), NULL, NULL, baseName, NULL); |
| 67 | return std::string(baseName); |
| 68 | #else |
| 69 | return basename(strdup(path.c_str())); |
| 70 | #endif |
| 71 | } |
| 72 | |
| 73 | |
| 74 | bool DebugModule::IsSameBaseModule(const DebugModule& other) const |
nothing calls this directly
no outgoing calls
no test coverage detected