[libc-commits] [PATCH] D134016: [libc] Add implementation of POSIX setrlimit and getrlimit functions.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Sep 16 13:04:55 PDT 2022


sivachandra added a comment.

In D134016#3796381 <https://reviews.llvm.org/D134016#3796381>, @lntue wrote:

> Is this failure fixed yet:
>
>   /var/lib/buildkite-agent/builds/llvm-project/libc/test/src/sys/resource/getrlimit_setrlimit_test.cpp:43:19: error: variable has incomplete type 'struct rlimit_t'
>     struct rlimit_t limits {
>                     ^
>   /var/lib/buildkite-agent/builds/llvm-project/libc/test/src/sys/resource/getrlimit_setrlimit_test.cpp:43:10: note: forward declaration of 'rlimit_t'
>     struct rlimit_t limits {
>            ^
>   1 error generated.

Not sure where this is coming from. But, I realized I did not add the new functions to `posix.td` - added now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134016/new/

https://reviews.llvm.org/D134016



More information about the libc-commits mailing list