Make sure the memory range is writable before memset'ing it.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 9 Sep 2009 01:45:24 +0000 (01:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 9 Sep 2009 01:45:24 +0000 (01:45 +0000)
commitc48edbb2fd4b7196b8bc67e7e450553602b5a754
treec99f0e85dd2bb38fb2b2d75765a7be9d73d684dc
parent61f6978e8b11cdaed65770bcd18cff203ff4e229
Make sure the memory range is writable before memset'ing it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81308 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Allocator.cpp