[all-commits] [llvm/llvm-project] b062d6: [libc] add strtoll function and backend

michaelrj-google via All-commits all-commits at lists.llvm.org
Wed Aug 11 16:37:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b062d639bb3a315f2b5f410e99b9c3ea10c530cc
      https://github.com/llvm/llvm-project/commit/b062d639bb3a315f2b5f410e99b9c3ea10c530cc
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/spec.td
    M libc/spec/stdc.td
    M libc/src/__support/CMakeLists.txt
    A libc/src/__support/str_conv_utils.h
    M libc/src/stdlib/CMakeLists.txt
    A libc/src/stdlib/strtoll.cpp
    A libc/src/stdlib/strtoll.h
    M libc/test/src/stdlib/CMakeLists.txt
    A libc/test/src/stdlib/strtoll_test.cpp

  Log Message:
  -----------
  [libc] add strtoll function and backend

This change adds the stroll function, but most of the implementation is
in the new file str_conv_utils.h since many of the other integer
conversion functions are implemented through what are effectively calls
to strtoll.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D107792




More information about the All-commits mailing list