Missing in header for `pthread_exit` and `exit`.
Missing in spec file for `pthread_exit`.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D151143
>,
FunctionSpec<
"pthread_exit",
- RetValSpec<VoidType>,
+ RetValSpec<NoReturn>,
[ArgSpec<VoidPtr>]
>,
FunctionSpec<
namespace __llvm_libc {
-void pthread_exit(void *retval);
+[[noreturn]] void pthread_exit(void *retval);
} // namespace __llvm_libc
namespace __llvm_libc {
-void exit(int status);
+[[noreturn]] void exit(int status);
} // namespace __llvm_libc