[PATCH] D37788: [ARM] builtins: Do not abort in clear_cache.

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 13:02:08 PDT 2017


peter.smith added a comment.

Interesting, I think the next thing to find out is "Is the cache flushed, and then the syscall returns -EFAULT, or is the cache not flushed and the syscall returns -EFAULT?" If it is the former then we may have a reasonable case for removing the check for compiler-rt, however if it is the latter then compiler-rt may have found a subtle bug in the idiom of removing write access, call clear cache on Arm.

It would be good to get this checked over by someone that knows linux kernel's better than I do.


https://reviews.llvm.org/D37788





More information about the llvm-commits mailing list