| commit | 806d507b0f2806a64483a722ecf003ed9803996a | [log] [tgz] |
|---|---|---|
| author | Jim Grosbach <grosbach@apple.com> | Fri Mar 18 18:51:03 2011 +0000 |
| committer | Jim Grosbach <grosbach@apple.com> | Fri Mar 18 18:51:03 2011 +0000 |
| tree | 9ff4e45f0ebefe0088dc2abb0921400a265378f4 | |
| parent | c30dcecb5ceb70ff87c685376cbe43020b799926 [diff] [blame] |
setExecutable() should default to success if there's nothing custom for it. llvm-svn: 127891
diff --git a/llvm/lib/Support/Unix/Memory.inc b/llvm/lib/Support/Unix/Memory.inc index 4312d67..5a57a28 100644 --- a/llvm/lib/Support/Unix/Memory.inc +++ b/llvm/lib/Support/Unix/Memory.inc
@@ -124,7 +124,7 @@ (vm_size_t)M.Size, 0, VM_PROT_READ | VM_PROT_EXECUTE | VM_PROT_COPY); return KERN_SUCCESS == kr; #else - return false; + return true; #endif }