markj added a comment. This looks right to me. Is there a reason for not including cap_rights_is_set()? Repository: rCRT Compiler Runtime CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55714/new/ https://reviews.llvm.org/D55714