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

Manoj Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 04:09:37 PDT 2017


manojgupta updated this revision to Diff 115010.
manojgupta retitled this revision from "[ARM] builtins: Do not abort for NULL pointer in clear_cache." to "[ARM] builtins: Do not abort in clear_cache.".
manojgupta edited the summary of this revision.
manojgupta added a comment.

Updated change description.


https://reviews.llvm.org/D37788

Files:
  lib/builtins/clear_cache.c


Index: lib/builtins/clear_cache.c
===================================================================
--- lib/builtins/clear_cache.c
+++ lib/builtins/clear_cache.c
@@ -121,9 +121,6 @@
                           : "=r"(start_reg)
                           : "r"(syscall_nr), "r"(start_reg), "r"(end_reg),
                             "r"(flags));
-         if (start_reg != 0) {
-             compilerrt_abort();
-         }
     #elif defined(_WIN32)
         FlushInstructionCache(GetCurrentProcess(), start, end - start);
     #else


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37788.115010.patch
Type: text/x-patch
Size: 536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170913/0a330353/attachment.bin>


More information about the llvm-commits mailing list