[all-commits] [llvm/llvm-project] 99aea5: [libc] Add very basic stdio FILE and fwrite

Alex Brachet via All-commits all-commits at lists.llvm.org
Tue Apr 14 01:03:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 99aea5792841ba48ebc427e1326631a584fc8b42
      https://github.com/llvm/llvm-project/commit/99aea5792841ba48ebc427e1326631a584fc8b42
  Author: Alex Brachet <alexbrachetmialot at gmail.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M libc/config/linux/api.td
    M libc/include/CMakeLists.txt
    A libc/include/stdio.h.def
    M libc/spec/stdc.td
    M libc/src/CMakeLists.txt
    A libc/src/stdio/CMakeLists.txt
    A libc/src/stdio/FILE.h
    A libc/src/stdio/fwrite.cpp
    A libc/src/stdio/fwrite.h
    M libc/test/src/CMakeLists.txt
    A libc/test/src/stdio/CMakeLists.txt
    A libc/test/src/stdio/fwrite_test.cpp

  Log Message:
  -----------
  [libc] Add very basic stdio FILE and fwrite

Summary:
This patch adds a very basic `FILE` type and basic `fwrite`.

It also removes `snprintf` from `StdIO`'s function spec because `VarArgType` was causing the generation to fail.

Reviewers: sivachandra, PaulkaToast

Reviewed By: sivachandra

Subscribers: mgorny, MaskRay, tschuett, libc-commits

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




More information about the All-commits mailing list