summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-05-08 14:43:49 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-05-08 14:43:49 +0000
commit6f4be19b576fc7eb5f3f573ebedbe2cd4a598ee7 (patch)
treeebf5d111a9704ca38a393f8ef55d771a7d8e4d82 /llvm/lib
parent4307282de6cd6e1f2f24871361248eec136ce2c7 (diff)
downloadbcm5719-llvm-6f4be19b576fc7eb5f3f573ebedbe2cd4a598ee7.tar.gz
bcm5719-llvm-6f4be19b576fc7eb5f3f573ebedbe2cd4a598ee7.zip
[nolibc] Change internal syscall API to remove reliance on libc's errno.
This change moves to a model where the error value of a system call is potentially contained in the return value itself rather than being implicit in errno. The helper function internal_iserror can be used to extract the error value from a return value. On platforms other than Linux/x86_64 this still uses errno, but other platforms are free to port their error handling to this new model. Differential Revision: http://llvm-reviews.chandlerc.com/D756 llvm-svn: 181436
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud