Parse ELF format for rocprofiler_configure symbol (#970)
* Parse ELF format to search for rocprofiler_configure * Use ELF parsing in registration
This commit is contained in:
zatwierdzone przez
GitHub
rodzic
8b1b074b2a
commit
2be3543c7b
Vendored
+17
@@ -151,6 +151,7 @@ if(ROCPROFILER_BUILD_DOCS)
|
||||
REPO_BRANCH "main")
|
||||
endif()
|
||||
|
||||
# perfetto
|
||||
rocprofiler_checkout_git_submodule(
|
||||
RECURSIVE
|
||||
RELATIVE_PATH external/perfetto
|
||||
@@ -172,3 +173,19 @@ set_target_properties(
|
||||
OUTPUT_NAME rocprofiler-sdk-perfetto)
|
||||
target_link_libraries(rocprofiler-perfetto
|
||||
INTERFACE $<BUILD_INTERFACE:rocprofiler-perfetto-static-library>)
|
||||
|
||||
# ELFIO
|
||||
rocprofiler_checkout_git_submodule(
|
||||
RECURSIVE
|
||||
RELATIVE_PATH external/elfio
|
||||
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||
REPO_URL https://github.com/serge1/ELFIO.git
|
||||
REPO_BRANCH "Release_3.12")
|
||||
|
||||
set(ELFIO_BUILD_EXAMPLES OFF)
|
||||
set(ELFIO_BUILD_TESTS OFF)
|
||||
add_subdirectory(elfio EXCLUDE_FROM_ALL)
|
||||
if(TARGET rocprofiler-elfio)
|
||||
get_target_property(ELFIO_INCLUDE_DIR elfio::elfio INTERFACE_INCLUDE_DIRECTORIES)
|
||||
target_include_directories(rocprofiler-elfio SYSTEM INTERFACE ${ELFIO_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
+1
Submodule external/elfio added at 8ae6cec5d6
Reference in New Issue
Block a user