================
@@ -657,8 +657,6 @@ std::error_code access(const Twine &Path, AccessMode Mode) {
}
bool can_execute(const Twine &Path) {
- sandbox::violationIfEnabled();
----------------
jansvoboda11 wrote:
For these low-level functions, I want it to be clear that it could trigger a
sandbox violation. Having it at the top of the body is clearer than relying on
some transitive property. Please revert this hunk.
https://github.com/llvm/llvm-project/pull/224783
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits