[all-commits] [llvm/llvm-project] a0b65a: [libc] Switch to use a macro which does not insert...

michaelrj-google via All-commits all-commits at lists.llvm.org
Fri Jan 8 15:54:05 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0b65a7bcd6065688189b3d678c42ed6af9603db
      https://github.com/llvm/llvm-project/commit/a0b65a7bcd6065688189b3d678c42ed6af9603db
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-01-08 (Fri, 08 Jan 2021)

  Changed paths:
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/src/__support/common.h.def
    M libc/src/assert/__assert_fail.cpp
    M libc/src/ctype/isalnum.cpp
    M libc/src/ctype/isalpha.cpp
    M libc/src/ctype/isblank.cpp
    M libc/src/ctype/iscntrl.cpp
    M libc/src/ctype/isdigit.cpp
    M libc/src/ctype/isgraph.cpp
    M libc/src/ctype/islower.cpp
    M libc/src/ctype/isprint.cpp
    M libc/src/ctype/ispunct.cpp
    M libc/src/ctype/isspace.cpp
    M libc/src/ctype/isupper.cpp
    M libc/src/ctype/isxdigit.cpp
    M libc/src/ctype/tolower.cpp
    M libc/src/ctype/toupper.cpp
    M libc/src/errno/__errno_location.cpp
    M libc/src/fenv/feclearexcept.cpp
    M libc/src/fenv/fegetround.cpp
    M libc/src/fenv/feraiseexcept.cpp
    M libc/src/fenv/fesetround.cpp
    M libc/src/fenv/fetestexcept.cpp
    M libc/src/math/ceil.cpp
    M libc/src/math/ceilf.cpp
    M libc/src/math/ceill.cpp
    M libc/src/math/copysign.cpp
    M libc/src/math/copysignf.cpp
    M libc/src/math/copysignl.cpp
    M libc/src/math/cosf.cpp
    M libc/src/math/exp2f.cpp
    M libc/src/math/expf.cpp
    M libc/src/math/fabs.cpp
    M libc/src/math/fabsf.cpp
    M libc/src/math/fabsl.cpp
    M libc/src/math/fdim.cpp
    M libc/src/math/fdimf.cpp
    M libc/src/math/fdiml.cpp
    M libc/src/math/floor.cpp
    M libc/src/math/floorf.cpp
    M libc/src/math/floorl.cpp
    M libc/src/math/fmaf.cpp
    M libc/src/math/fmax.cpp
    M libc/src/math/fmaxf.cpp
    M libc/src/math/fmaxl.cpp
    M libc/src/math/fmin.cpp
    M libc/src/math/fminf.cpp
    M libc/src/math/fminl.cpp
    M libc/src/math/frexp.cpp
    M libc/src/math/frexpf.cpp
    M libc/src/math/frexpl.cpp
    M libc/src/math/hypot.cpp
    M libc/src/math/hypotf.cpp
    M libc/src/math/ilogb.cpp
    M libc/src/math/ilogbf.cpp
    M libc/src/math/ilogbl.cpp
    M libc/src/math/ldexp.cpp
    M libc/src/math/ldexpf.cpp
    M libc/src/math/ldexpl.cpp
    M libc/src/math/llrint.cpp
    M libc/src/math/llrintf.cpp
    M libc/src/math/llrintl.cpp
    M libc/src/math/llround.cpp
    M libc/src/math/llroundf.cpp
    M libc/src/math/llroundl.cpp
    M libc/src/math/logb.cpp
    M libc/src/math/logbf.cpp
    M libc/src/math/logbl.cpp
    M libc/src/math/lrint.cpp
    M libc/src/math/lrintf.cpp
    M libc/src/math/lrintl.cpp
    M libc/src/math/lround.cpp
    M libc/src/math/lroundf.cpp
    M libc/src/math/lroundl.cpp
    M libc/src/math/modf.cpp
    M libc/src/math/modff.cpp
    M libc/src/math/modfl.cpp
    M libc/src/math/nearbyint.cpp
    M libc/src/math/nearbyintf.cpp
    M libc/src/math/nearbyintl.cpp
    M libc/src/math/nextafter.cpp
    M libc/src/math/nextafterf.cpp
    M libc/src/math/nextafterl.cpp
    M libc/src/math/remainder.cpp
    M libc/src/math/remainderf.cpp
    M libc/src/math/remainderl.cpp
    M libc/src/math/remquo.cpp
    M libc/src/math/remquof.cpp
    M libc/src/math/remquol.cpp
    M libc/src/math/rint.cpp
    M libc/src/math/rintf.cpp
    M libc/src/math/rintl.cpp
    M libc/src/math/round.cpp
    M libc/src/math/roundf.cpp
    M libc/src/math/roundl.cpp
    M libc/src/math/sincosf.cpp
    M libc/src/math/sinf.cpp
    M libc/src/math/sqrt.cpp
    M libc/src/math/sqrtf.cpp
    M libc/src/math/sqrtl.cpp
    M libc/src/math/trunc.cpp
    M libc/src/math/truncf.cpp
    M libc/src/math/truncl.cpp
    M libc/src/signal/linux/raise.cpp
    M libc/src/signal/linux/sigaction.cpp
    M libc/src/signal/linux/sigaddset.cpp
    M libc/src/signal/linux/sigdelset.cpp
    M libc/src/signal/linux/sigemptyset.cpp
    M libc/src/signal/linux/sigfillset.cpp
    M libc/src/signal/linux/signal.cpp
    M libc/src/signal/linux/sigprocmask.cpp
    M libc/src/stdlib/abort.cpp
    M libc/src/stdlib/abs.cpp
    M libc/src/stdlib/labs.cpp
    M libc/src/stdlib/linux/_Exit.cpp
    M libc/src/stdlib/llabs.cpp
    M libc/src/string/bzero.cpp
    M libc/src/string/memchr.cpp
    M libc/src/string/memcmp.cpp
    M libc/src/string/memcpy.cpp
    M libc/src/string/memrchr.cpp
    M libc/src/string/memset.cpp
    M libc/src/string/strcat.cpp
    M libc/src/string/strchr.cpp
    M libc/src/string/strcmp.cpp
    M libc/src/string/strcpy.cpp
    M libc/src/string/strcspn.cpp
    M libc/src/string/strlen.cpp
    M libc/src/string/strncpy.cpp
    M libc/src/string/strnlen.cpp
    M libc/src/string/strpbrk.cpp
    M libc/src/string/strrchr.cpp
    M libc/src/string/strspn.cpp
    M libc/src/string/strstr.cpp
    M libc/src/string/strtok.cpp
    M libc/src/string/strtok_r.cpp
    M libc/src/string/x86/memcpy.cpp
    M libc/src/sys/mman/linux/mmap.cpp
    M libc/src/sys/mman/linux/munmap.cpp
    M libc/src/threads/linux/call_once.cpp
    M libc/src/threads/linux/mtx_init.cpp
    M libc/src/threads/linux/mtx_lock.cpp
    M libc/src/threads/linux/mtx_unlock.cpp
    M libc/src/threads/linux/thrd_create.cpp
    M libc/src/threads/linux/thrd_join.cpp
    M libc/src/time/mktime.cpp
    M libc/src/unistd/linux/write.cpp

  Log Message:
  -----------
  [libc] Switch to use a macro which does not insert a section for every libc function.

Summary:
The new macro also inserts the C alias for the C++ implementations
without needing an objcopy based post processing step. The CMake
rules have been updated to reflect this. More CMake cleanup can be
taken up in future rounds and appropriate TODOs have been added for them.

Reviewers: mcgrathr, sivachandra

Subscribers:




More information about the All-commits mailing list