- Timestamp:
- Sep 1, 2020, 8:05:48 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 70cab43
- Parents:
- d3aa64f1
- Location:
- tests
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/alloc.txt
rd3aa64f1 r68f0c4e 14 14 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 0xdededede 15 15 CFA array alloc, fill 0xef 16 0x efefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef16 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 17 17 CFA array alloc, fill from array 18 0x efefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef, 0xefefefef 0xefefefef,18 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 0xdeadbeef 0xdeadbeef, 19 19 20 20 C realloc 21 0x efefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef21 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 22 22 CFA realloc 23 0x efefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0xefefefef 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x101010123 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0xdeadbeef 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 0x1010101 24 24 25 25 CFA realloc array alloc -
tests/malloc.cfa
rd3aa64f1 r68f0c4e 348 348 free(ip); 349 349 350 ip = resize( NULL, size );351 test_base(ip, size, libAlign); 352 test_use(ip); 353 free(ip); 354 355 ip = resize( 0p, size );350 ip = resize( (int*)0p, size ); 351 test_base(ip, size, libAlign); 352 test_use(ip); 353 free(ip); 354 355 ip = resize( (int*)0p, size ); 356 356 test_base(ip, size, libAlign); 357 357 test_use(ip); … … 378 378 free(ip); 379 379 380 ip = realloc( NULL, size );380 ip = realloc( (int*)0p, size ); 381 381 test_base(ip, size , libAlign); 382 382 test_use(ip); 383 383 free(ip); 384 384 385 ip = realloc( 0p, size );385 ip = realloc( (int*)0p, size ); 386 386 test_base(ip, size, libAlign); 387 387 test_use(ip); … … 488 488 free(tp); 489 489 490 tp = resize( NULL, size );490 tp = resize( (T1*)0p, size ); 491 491 test_base(tp, size, tAlign ); 492 492 test_use(tp); 493 493 free(tp); 494 494 495 tp = resize( 0p, size );495 tp = resize( (T1*)0p, size ); 496 496 test_base(tp, size, tAlign ); 497 497 test_use(tp); … … 518 518 free(tp); 519 519 520 tp = realloc( NULL, size ); 521 test_base(tp, size , tAlign ); 522 test_use(tp); 523 free(tp); 524 525 tp = realloc( 0p, size ); 526 test_base(tp, size, tAlign ); 527 test_use(tp); 528 free(tp); 520 /* 521 tp = realloc( (T1*)0p, size ); 522 est_base(tp, size , tAlign ); 523 est_use(tp); 524 free(tp); 525 526 tp = realloc( (T1*)0p, size ); 527 est_base(tp, size, tAlign ); 528 est_use(tp); 529 free(tp); 530 */ 529 531 530 532 tp = memalign( align ); … … 559 561 free(tp); 560 562 561 (int) posix_memalign( ( int**) &tp, align );563 (int) posix_memalign( (T1 **) &tp, align ); 562 564 test_base(tp, elemSize, align); 563 565 test_use(tp);
Note: See TracChangeset
for help on using the changeset viewer.