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)
25
25
sanitizer/memprof_interface.h
26
26
profile/MemProfData.inc
27
27
)
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 ()
28
35
endif (COMPILER_RT_BUILD_MEMPROF )
29
36
30
37
if (COMPILER_RT_BUILD_XRAY )
@@ -90,6 +97,12 @@ if (COMPILER_RT_BUILD_MEMPROF)
90
97
COMPONENT compiler-rt-headers
91
98
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
92
99
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 ()
93
106
endif (COMPILER_RT_BUILD_MEMPROF )
94
107
# Install xray headers.
95
108
install (FILES ${XRAY_HEADERS}
You can’t perform that action at this time.
0 commit comments