Files
TheRock/rocm-systems/projects/rocprofiler-systems/source/bin/rocprof-sys-instrument/internal_libs.hpp
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

149 lines
2.7 KiB
C++

// Copyright (c) Advanced Micro Devices, Inc.
// SPDX-License-Identifier: MIT
#include <gnu/lib-names.h>
#if !defined(LD_LINUX_X86_64_SO)
# define LD_LINUX_X86_64_SO ""
#endif
#if !defined(LD_SO)
# define LD_SO ""
#endif
#if !defined(LIBANL_SO)
# define LIBANL_SO ""
#endif
#if !defined(LIBBROKENLOCALE_SO)
# define LIBBROKENLOCALE_SO ""
#endif
#if !defined(LIBCRYPT_SO)
# define LIBCRYPT_SO ""
#endif
#if !defined(LIBC_SO)
# define LIBC_SO ""
#endif
#if !defined(LIBDL_SO)
# define LIBDL_SO ""
#endif
#if !defined(LIBGCC_S_SO)
# define LIBGCC_S_SO ""
#endif
#if !defined(LIBMVEC_SO)
# define LIBMVEC_SO ""
#endif
#if !defined(LIBM_SO)
# define LIBM_SO ""
#endif
#if !defined(LIBNSL_SO)
# define LIBNSL_SO ""
#endif
#if !defined(LIBNSS_COMPAT_SO)
# define LIBNSS_COMPAT_SO ""
#endif
#if !defined(LIBNSS_DB_SO)
# define LIBNSS_DB_SO ""
#endif
#if !defined(LIBNSS_DNS_SO)
# define LIBNSS_DNS_SO ""
#endif
#if !defined(LIBNSS_FILES_SO)
# define LIBNSS_FILES_SO ""
#endif
#if !defined(LIBNSS_HESIOD_SO)
# define LIBNSS_HESIOD_SO ""
#endif
#if !defined(LIBNSS_LDAP_SO)
# define LIBNSS_LDAP_SO ""
#endif
#if !defined(LIBNSS_NISPLUS_SO)
# define LIBNSS_NISPLUS_SO ""
#endif
#if !defined(LIBNSS_NIS_SO)
# define LIBNSS_NIS_SO ""
#endif
#if !defined(LIBNSS_TEST1_SO)
# define LIBNSS_TEST1_SO ""
#endif
#if !defined(LIBNSS_TEST2_SO)
# define LIBNSS_TEST2_SO ""
#endif
#if !defined(LIBPTHREAD_SO)
# define LIBPTHREAD_SO ""
#endif
#if !defined(LIBRESOLV_SO)
# define LIBRESOLV_SO ""
#endif
#if !defined(LIBRT_SO)
# define LIBRT_SO ""
#endif
#if !defined(LIBTHREAD_DB_SO)
# define LIBTHREAD_DB_SO ""
#endif
#if !defined(LIBUTIL_SO)
# define LIBUTIL_SO ""
#endif
#include <map>
#include <optional>
#include <set>
#include <string>
#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <vector>
using func_set_t = std::unordered_set<std::string>;
using module_func_map_t = std::unordered_map<std::string, func_set_t>;
using library_module_map_t = std::unordered_map<std::string, module_func_map_t>;
template <typename Tp, typename... TailT>
std::set<Tp>
ordered(const std::unordered_set<Tp, TailT...>&);
template <typename KeyT, typename MappedT, typename... TailT>
std::map<KeyT, MappedT>
ordered(const std::unordered_map<KeyT, MappedT, TailT...>&);
std::optional<std::string> find_library(std::string_view);
std::vector<std::string> find_libraries(std::string_view);
const std::vector<std::string>&
get_library_search_paths();
std::set<std::string>&
get_internal_basic_libs();
std::set<std::string>&
get_internal_libs();
const library_module_map_t&
get_internal_libs_data();
void
parse_internal_libs_data();