projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9bd496
)
setExecutable() should default to success if there's nothing custom for it.
author
Jim Grosbach
<grosbach@apple.com>
Fri, 18 Mar 2011 18:51:03 +0000
(18:51 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 18 Mar 2011 18:51:03 +0000
(18:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127891
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/Memory.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Memory.inc
b/lib/Support/Unix/Memory.inc
index 4312d67183c4196bfe10409072330933ce886b17..5a57a28706368cedb510977faff88390f22ac99e 100644
(file)
--- a/
lib/Support/Unix/Memory.inc
+++ b/
lib/Support/Unix/Memory.inc
@@
-124,7
+124,7
@@
bool llvm::sys::Memory::setExecutable (MemoryBlock &M, std::string *ErrMsg) {
(vm_size_t)M.Size, 0, VM_PROT_READ | VM_PROT_EXECUTE | VM_PROT_COPY);
return KERN_SUCCESS == kr;
#else
- return
fals
e;
+ return
tru
e;
#endif
}