[llvm-commits] CVS: llvm/test/Libraries/libpoolalloc/PoolAllocatorChained.c
Sumant Kowshik
kowshik at cs.uiuc.edu
Mon Aug 11 19:44:01 PDT 2003
Changes in directory llvm/test/Libraries/libpoolalloc:
PoolAllocatorChained.c updated: 1.3 -> 1.4
---
Log message:
Minor fix so that the program exits upon a poolfree failure
---
Diffs of the changes:
Index: llvm/test/Libraries/libpoolalloc/PoolAllocatorChained.c
diff -u llvm/test/Libraries/libpoolalloc/PoolAllocatorChained.c:1.3 llvm/test/Libraries/libpoolalloc/PoolAllocatorChained.c:1.4
--- llvm/test/Libraries/libpoolalloc/PoolAllocatorChained.c:1.3 Thu Aug 7 00:31:04 2003
+++ llvm/test/Libraries/libpoolalloc/PoolAllocatorChained.c Mon Aug 11 19:43:23 2003
@@ -242,6 +242,7 @@
if (!ALLOCATION_BEGINS(PS, Idx)) {
printf("poolfree: Attempt to free middle of allocated array\n");
+ exit(1);
}
/* Free the first node */
More information about the llvm-commits
mailing list