| 270 | |
| 271 | template <typename XCOFF> |
| 272 | cm::optional<cm::string_view> Impl<XCOFF>::GetLibPath() |
| 273 | { |
| 274 | cm::optional<cm::string_view> result; |
| 275 | auto end = std::find(this->LoaderImportFileTable.begin(), |
| 276 | this->LoaderImportFileTable.end(), '\0'); |
| 277 | if (end != this->LoaderImportFileTable.end()) { |
| 278 | result = cm::string_view(this->LoaderImportFileTable.data(), |
| 279 | end - this->LoaderImportFileTable.begin()); |
| 280 | } |
| 281 | return result; |
| 282 | } |
| 283 | |
| 284 | template <typename XCOFF> |
| 285 | bool Impl<XCOFF>::SetLibPath(cm::string_view libPath) |
no test coverage detected