File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -350,6 +350,16 @@ add_entrypoint_external(
350350 DEPENDS
351351 ${SCUDO_DEPS}
352352)
353+ add_entrypoint_object(
354+ memalignment
355+ SRCS
356+ memalignment.cpp
357+ HDRS
358+ memalignment.h
359+ DEPENDS
360+ libc.src.__support.common
361+ libc.src.__support.CPP.cstddef
362+ )
353363
354364if (NOT LIBC_TARGET_OS_IS_BAREMETAL AND NOT LIBC_TARGET_OS_IS_GPU)
355365 if (LLVM_LIBC_INCLUDE_SCUDO)
@@ -420,9 +430,6 @@ if(NOT LIBC_TARGET_OS_IS_BAREMETAL AND NOT LIBC_TARGET_OS_IS_GPU)
420430 add_entrypoint_external(
421431 malloc
422432 )
423- add_entrypoint_external(
424- memalignment
425- )
426433 add_entrypoint_external(
427434 calloc
428435 )
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC_STDLIB_MEM_ALIGNMENT_H
1111
1212#include " src/__support/macros/config.h"
13- #include < stddef.h >
13+ #include " src/__support/CPP/cstddef.h "
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
You can’t perform that action at this time.
0 commit comments