MMichael Jones[libc][nfc] move printf inf/nan to separate function
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc][nfc] move printf inf/nan to separate function The floating point functions all use the same inf and nan formatting. By separating this functionality out of the %a conversion I make it available for reuse by %f/e/g. Reviewed By: lntue, sivachandra Differential Revision: https://reviews.llvm.org/D129665 | 3 年前 | |
[libc] add printf This patch adds the entrypoint for printf. With this, building a "hello world" program with just LLVM-libc is possible. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D126831 | 3 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add implementations of feof, ferror and clearerr. The corresponding _unlocked functions have also been added. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124311 | 4 年前 | |
[libc] Add the implementation of the fflush function. Note that the underlying flush implementation does not yet fully implement the POSIX standard. It is complete with respect to the C standard however. A future change will add the POSIX behavior. It should not affect the implementation of the fflush function however as the POSIX behavior will be added in a lower layer. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D124073 | 4 年前 | |
[libc] Add the implementation of the fflush function. Note that the underlying flush implementation does not yet fully implement the POSIX standard. It is complete with respect to the C standard however. A future change will add the POSIX behavior. It should not affect the implementation of the fflush function however as the POSIX behavior will be added in a lower layer. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D124073 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add the implementation of the GNU extension function fopencookie. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124141 | 4 年前 | |
[libc] Add the implementation of the GNU extension function fopencookie. Reviewed By: lntue, michaelrj Differential Revision: https://reviews.llvm.org/D124141 | 4 年前 | |
[libc] refactor printf file writing Add return values to converter functions to allow for better error handling when writing files. Also move the file writing code around to be easier to read. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D127773 | 3 年前 | |
[libc] add fprintf and file_writer This patch adds the file_writer header, which just provides a wrapper for File->write, as well as fprintf to use it. There are no unit tests for file_writer since it's too simple to need them, but fprintf does have a simple test of writing to a file. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D125939 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add implementations of fopen, flose, fread, fwrite and fseek. A follow up patch will add feof and ferror. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D122327 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] Add GNU extention functions fread_unlocked and fwrite_unlocked. POSIX locking and unlocking functions flockfile and funlockfile have also been added. The locking is not recursive yet. A future patch will make the underlying lock a recursive lock. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D123986 | 4 年前 | |
[libc] add printf This patch adds the entrypoint for printf. With this, building a "hello world" program with just LLVM-libc is possible. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D126831 | 3 年前 | |
[libc] add printf This patch adds the entrypoint for printf. With this, building a "hello world" program with just LLVM-libc is possible. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D126831 | 3 年前 | |
[libc] add snprintf After adding sprintf, snprintf is simple. The functions are very similar. The tests only cover the behavior of the max length since the sprintf tests should cover the other behavior. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D125826 | 4 年前 | |
[libc] add snprintf After adding sprintf, snprintf is simple. The functions are very similar. The tests only cover the behavior of the max length since the sprintf tests should cover the other behavior. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D125826 | 4 年前 | |
[libc] add snprintf After adding sprintf, snprintf is simple. The functions are very similar. The tests only cover the behavior of the max length since the sprintf tests should cover the other behavior. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D125826 | 4 年前 | |
[libc] add sprintf This adds the sprintf entrypoint, as well as unit tests. Currently sprintf only supports %%, %s, and %c, but the other conversions are on the way. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D125573 | 4 年前 | |
[libc] Add global stdout and stderr objects. They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329 | 4 年前 | |
[libc] Add global stdout and stderr objects. They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329 | 4 年前 | |
[libc] Add global stdout and stderr objects. They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329 | 4 年前 | |
[libc] Add global stdout and stderr objects. They are added as entrypoint object targets. The header-gen infrastructure has been extended to enable handling standard required global objects. The libc-api-test has also been extended to verify the global object declarations. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D126329 | 4 年前 |