Added a test and fixed a bug in BumpPtrAllocator relating to large alignment
authorReid Kleckner <reid@kleckner.net>
Sat, 25 Jul 2009 21:26:02 +0000 (21:26 +0000)
committerReid Kleckner <reid@kleckner.net>
Sat, 25 Jul 2009 21:26:02 +0000 (21:26 +0000)
commit7d509134dcec17f6094032196b21af5c67943f0f
tree956480aceff06b421f0ab357919fd759843b3712
parentb4fc419d83bc4afc8ce5a204dd226d5ae58f5896
Added a test and fixed a bug in BumpPtrAllocator relating to large alignment
values.  Hopefully this fixes PR4622.

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