mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-25 21:45:57 +00:00
connectLibrary() reached libomp's ompt_libomp_connect through OmptLibraryConnectorTy, which dlopens "libomp.so" and resolves the symbol at run time. That cannot do anything the linker has not already done: libomptarget links libomp and imports seven __kmpc_* symbols from it, so libomp.so is a DT_NEEDED entry, and libomp defines and exports ompt_libomp_connect unconditionally -- as a stub in kmp_utility.cpp when built without OMPT support. Declare it, call it, and delete Connector.h. AI-assisted. |
||
|---|---|---|
| .. | ||
| OMPT | ||
| InternalTypes.h | ||
| InteropAPI.h | ||
| Mapping.h | ||
| omp.h | ||