File tree Expand file tree Collapse file tree 15 files changed +111
-0
lines changed Expand file tree Collapse file tree 15 files changed +111
-0
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,13 @@ set(TARGET_LIBC_ENTRYPOINTS
347
347
libc.src.wchar.wctob
348
348
)
349
349
350
+ if(LLVM_LIBC_INCLUDE_SCUDO)
351
+ list(APPEND TARGET_LIBC_ENTRYPOINTS
352
+ # malloc.h external entrypoints
353
+ libc.src.stdlib.mallopt
354
+ )
355
+ endif()
356
+
350
357
set(TARGET_LIBM_ENTRYPOINTS
351
358
# fenv.h entrypoints
352
359
libc.src.fenv.feclearexcept
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ set(TARGET_PUBLIC_HEADERS
11
11
libc.include.inttypes
12
12
libc.include.limits
13
13
libc.include.link
14
+ libc.include.malloc
14
15
libc.include.math
15
16
libc.include.pthread
16
17
libc.include.signal
Original file line number Diff line number Diff line change @@ -189,6 +189,13 @@ if(LLVM_LIBC_FULL_BUILD)
189
189
)
190
190
endif()
191
191
192
+ if(LLVM_LIBC_INCLUDE_SCUDO)
193
+ list(APPEND TARGET_LIBC_ENTRYPOINTS
194
+ # malloc.h external entrypoints
195
+ libc.src.stdlib.mallopt
196
+ )
197
+ endif()
198
+
192
199
set(TARGET_LIBM_ENTRYPOINTS
193
200
# fenv.h entrypoints
194
201
libc.src.fenv.feclearexcept
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ set(TARGET_PUBLIC_HEADERS
4
4
libc.include.fenv
5
5
libc.include.float
6
6
libc.include.inttypes
7
+ libc.include.malloc
7
8
libc.include.math
8
9
libc.include.search
9
10
libc.include.setjmp
Original file line number Diff line number Diff line change @@ -346,6 +346,13 @@ set(TARGET_LIBC_ENTRYPOINTS
346
346
libc.src.wchar.wctob
347
347
)
348
348
349
+ if(LLVM_LIBC_INCLUDE_SCUDO)
350
+ list(APPEND TARGET_LIBC_ENTRYPOINTS
351
+ # malloc.h external entrypoints
352
+ libc.src.stdlib.mallopt
353
+ )
354
+ endif()
355
+
349
356
set(TARGET_LIBM_ENTRYPOINTS
350
357
# fenv.h entrypoints
351
358
libc.src.fenv.feclearexcept
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ set(TARGET_PUBLIC_HEADERS
11
11
libc.include.stdint
12
12
libc.include.inttypes
13
13
libc.include.limits
14
+ libc.include.malloc
14
15
libc.include.math
15
16
libc.include.pthread
16
17
libc.include.sched
Original file line number Diff line number Diff line change @@ -346,6 +346,13 @@ set(TARGET_LIBC_ENTRYPOINTS
346
346
libc.src.wchar.wctob
347
347
)
348
348
349
+ if(LLVM_LIBC_INCLUDE_SCUDO)
350
+ list(APPEND TARGET_LIBC_ENTRYPOINTS
351
+ # malloc.h external entrypoints
352
+ libc.src.stdlib.mallopt
353
+ )
354
+ endif()
355
+
349
356
set(TARGET_LIBM_ENTRYPOINTS
350
357
# fenv.h entrypoints
351
358
libc.src.fenv.feclearexcept
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ set(TARGET_PUBLIC_HEADERS
13
13
libc.include.inttypes
14
14
libc.include.limits
15
15
libc.include.link
16
+ libc.include.malloc
16
17
libc.include.math
17
18
libc.include.pthread
18
19
libc.include.sched
Original file line number Diff line number Diff line change @@ -146,6 +146,16 @@ add_header_macro(
146
146
.llvm-libc-macros .limits_macros
147
147
)
148
148
149
+ add_header_macro(
150
+ malloc
151
+ ../libc/newhdrgen/yaml/malloc.yaml
152
+ malloc.h.def
153
+ malloc.h
154
+ DEPENDS
155
+ .llvm_libc_common_h
156
+ .llvm-libc-macros .malloc_macros
157
+ )
158
+
149
159
add_header_macro(
150
160
math
151
161
../libc/newhdrgen/yaml/math.yaml
Original file line number Diff line number Diff line change @@ -109,6 +109,12 @@ add_macro_header(
109
109
link-macros .h
110
110
)
111
111
112
+ add_macro_header(
113
+ malloc_macros
114
+ HDR
115
+ malloc-macros .h
116
+ )
117
+
112
118
add_macro_header(
113
119
math_macros
114
120
HDR
You can’t perform that action at this time.
0 commit comments