File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,13 @@ if (COMPILER_RT_BUILD_MEMPROF)
2525 sanitizer/memprof_interface.h
2626 profile/MemProfData.inc
2727 )
28+ if (NOT COMPILER_RT_BUILD_SANITIZERS)
29+ set (MEMPROF_HEADERS
30+ ${MEMPROF_HEADERS}
31+ sanitizer/allocator_interface.h
32+ sanitizer/common_interface_defs.h
33+ )
34+ endif ()
2835endif (COMPILER_RT_BUILD_MEMPROF)
2936
3037if (COMPILER_RT_BUILD_XRAY)
@@ -90,6 +97,12 @@ if (COMPILER_RT_BUILD_MEMPROF)
9097 COMPONENT compiler-rt-headers
9198 PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
9299 DESTINATION ${COMPILER_RT_INSTALL_INCLUDE_DIR} /sanitizer)
100+ if (NOT COMPILER_RT_BUILD_SANITIZERS)
101+ install (FILES sanitizer/allocator_interface.h sanitizer/common_interface_defs.h
102+ COMPONENT compiler-rt-headers
103+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
104+ DESTINATION ${COMPILER_RT_INSTALL_INCLUDE_DIR} /sanitizer)
105+ endif ()
93106endif (COMPILER_RT_BUILD_MEMPROF)
94107# Install xray headers.
95108install (FILES ${XRAY_HEADERS}
You can’t perform that action at this time.
0 commit comments