mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
Optimize memory layout
This commit is contained in:
parent
0305194d98
commit
b69f3d2488
41 changed files with 383 additions and 347 deletions
|
@ -49,6 +49,10 @@ static uint64_t Rando(void) {
|
|||
return x;
|
||||
}
|
||||
|
||||
void SetUp(void) {
|
||||
__print_maps();
|
||||
}
|
||||
|
||||
static const struct {
|
||||
const char *want;
|
||||
const char *fmt;
|
||||
|
|
|
@ -52,5 +52,5 @@ TEST(zipos, test) {
|
|||
struct spawn *t = _gc(malloc(sizeof(struct spawn) * n));
|
||||
for (i = 0; i < n; ++i) ASSERT_SYS(0, 0, _spawn(Worker, 0, t + i));
|
||||
for (i = 0; i < n; ++i) EXPECT_SYS(0, 0, _join(t + i));
|
||||
/* __print_maps(); */
|
||||
__print_maps();
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@ if [ $# = 0 ]; then
|
|||
o//examples/life.com \
|
||||
o//examples/hello.com \
|
||||
o//examples/printargs.com \
|
||||
o//tool/build/assimilate.com \
|
||||
o//tool/build/pledge.com || exit
|
||||
make -j16 MODE=$m \
|
||||
o/$m/examples/ls.com \
|
||||
|
@ -17,6 +18,7 @@ if [ $# = 0 ]; then
|
|||
o/$m/examples/life.com \
|
||||
o/$m/examples/hello.com \
|
||||
o/$m/examples/printargs.com \
|
||||
o/$m/tool/build/assimilate.com \
|
||||
o/$m/tool/build/pledge.com || exit
|
||||
test/tool/build/pledge_test.sh ape_binfmt_test_suite || exit
|
||||
test/tool/build/pledge_test.sh ape_loader_test_suite || exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue