[PATCH] D37788: [ARM] builtins: Do not abort in clear_cache.
Manoj Gupta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 25 05:04:26 PDT 2017
manojgupta added a comment.
Just want to give an update on this.
The issue is being investigated by NaCL team but so far this is what they have told us:
"The addresses are correctly mapped. They start off as mmap()'d from a file as PROT_NONE, but they are mprotect()'d to PROT_READ|PROT_EXEC some time before calling cache flush on them."
Seaching on web, mprotect() + cache flush seems to be a common idiom in JITs.
https://reviews.llvm.org/D37788
More information about the llvm-commits
mailing list