1e509ee18Sopenharmony_ci 2e509ee18Sopenharmony_ci/** 3e509ee18Sopenharmony_ci * Copyright (c) 2022 Huawei Device Co., Ltd. 4e509ee18Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 5e509ee18Sopenharmony_ci * you may not use this file except in compliance with the License. 6e509ee18Sopenharmony_ci * You may obtain a copy of the License at 7e509ee18Sopenharmony_ci * 8e509ee18Sopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 9e509ee18Sopenharmony_ci * 10e509ee18Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software 11e509ee18Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 12e509ee18Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13e509ee18Sopenharmony_ci * See the License for the specific language governing permissions and 14e509ee18Sopenharmony_ci * limitations under the License. 15e509ee18Sopenharmony_ci */ 16e509ee18Sopenharmony_ci 17e509ee18Sopenharmony_ci#ifndef ARKCOMPILER_TOOLCHAIN_INSPECTOR_LIBRARY_LOADER_H 18e509ee18Sopenharmony_ci#define ARKCOMPILER_TOOLCHAIN_INSPECTOR_LIBRARY_LOADER_H 19e509ee18Sopenharmony_ci 20e509ee18Sopenharmony_ci#include <string_view> 21e509ee18Sopenharmony_ci 22e509ee18Sopenharmony_cinamespace OHOS::ArkCompiler::Toolchain { 23e509ee18Sopenharmony_civoid* Load(std::string_view libraryName); 24e509ee18Sopenharmony_civoid* ResolveSymbol(void* handle, std::string_view symbol); 25e509ee18Sopenharmony_civoid CloseHandle(void* handle); 26e509ee18Sopenharmony_ci} // namespace OHOS::ArkCompiler::Toolchain 27e509ee18Sopenharmony_ci 28e509ee18Sopenharmony_ci#endif // ARKCOMPILER_TOOLCHAIN_INSPECTOR_LIBRARY_LOADER_H 29