[libc] Create abort and _Exit
authorAlex Brachet <alexbrachetmialot@gmail.com>
Thu, 5 Mar 2020 19:21:18 +0000 (14:21 -0500)
committerAlex Brachet <alexbrachetmialot@gmail.com>
Thu, 5 Mar 2020 19:21:18 +0000 (14:21 -0500)
commita499d6805664350095658878e25f6ae20a106748
tree51b9d4e29320bef530f6abb633103d2be01e9a6f
parentef4282e0ee2d6539bbb92447a7464d9d089409f1
[libc] Create abort and _Exit

This revision creates abort and _Exit implementations

Differential Revision: https://reviews.llvm.org/D74949
18 files changed:
libc/config/linux/api.td
libc/include/CMakeLists.txt
libc/include/__llvm-libc-common.h
libc/include/stdlib.h.def [new file with mode: 0644]
libc/lib/CMakeLists.txt
libc/spec/spec.td
libc/spec/stdc.td
libc/src/CMakeLists.txt
libc/src/stdlib/CMakeLists.txt [new file with mode: 0644]
libc/src/stdlib/_Exit.h [new file with mode: 0644]
libc/src/stdlib/abort.cpp [new file with mode: 0644]
libc/src/stdlib/abort.h [new file with mode: 0644]
libc/src/stdlib/linux/CMakeLists.txt [new file with mode: 0644]
libc/src/stdlib/linux/_Exit.cpp [new file with mode: 0644]
libc/test/src/CMakeLists.txt
libc/test/src/stdlib/CMakeLists.txt [new file with mode: 0644]
libc/test/src/stdlib/_Exit_test.cpp [new file with mode: 0644]
libc/test/src/stdlib/abort_test.cpp [new file with mode: 0644]