diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-05-29 05:02:22 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-05-29 05:02:22 +0000 |
commit | 31234844ef002f718d5ab3588535e12ac53819d4 (patch) | |
tree | 183a3a6198e611f9777a47e18f893628ec5c3788 /llvm/lib/Transforms/Utils/LoopUnroll.cpp | |
parent | 195d8ef452a0712105a88194848db736d415f3c2 (diff) | |
download | bcm5719-llvm-31234844ef002f718d5ab3588535e12ac53819d4.tar.gz bcm5719-llvm-31234844ef002f718d5ab3588535e12ac53819d4.zip |
Linux: Correctly identify valid error codes
[syserr.errcat.objects]p4 specifies that
system_category().default_error_condition(ev) map to
error_condition(posv, generic_category()) if ev could map to a POSIX
errno.
Linux reserves up to and including 4095 for errno values, use this as a
bound.
This fixes syserr.errcat.objects/system_category.pass.cpp on Linux.
llvm-svn: 209795
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions