You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building clang itself against llvm-libc fails with:
llvm/lib/Support/Unix/Program.inc:161:3: error: no matching function for call to 'setrlimit'
161 | setrlimit(RLIMIT_RSS, &r);
| ^~~~~~~~~
/usr/include/sys/resource.h:23:5: note: candidate function not viable: requires 1 argument, but 2 were provided
23 | int setrlimit(const struct rlimit) __NOEXCEPT;
| ^ ~~~~~~~~~~~~~~~~~~~
This is because the generated header we produce has the function declaration of: