about summary refs log tree commit diff
path: root/src/rt
AgeCommit message (Collapse)AuthorLines
2012-01-11add a log_str() function and allow '%?' in fmt strings to use itNiko Matsakis-1/+20
2012-01-11Revert some iface shape code, fix a few more things in itMarijn Haverbeke-30/+19
We can now run the compiler with an iface-based hashtable implementation.
2012-01-10update shape code to handle iface instancesNiko Matsakis-11/+36
2012-01-10rt: Export upcall_s_shared_malloc since the SpiderMonkey bindings need itPatrick Walton-0/+1
2012-01-09add rust_task_is_unwinding predicate and do not kill if already unwindingNiko Matsakis-13/+21
2012-01-09rt: Set Linux red zone to 20K againBrian Anderson-2/+2
With runtime logging on it smashes the stack
2012-01-09Fix bug in iface shape codeMarijn Haverbeke-1/+4
Issue #1437
2012-01-09Add cases for iface values to rust_shape.hMarijn Haverbeke-0/+28
They appear to log okay now, but I can't promise much beyond that. @pcwalton If you feel like taking a look, I'd be grateful. Interfaces are boxes containing a (tydesc, dict, value_of_any_type) tuple, where the leading tydesc describes the whole tuple. Issue #1437
2012-01-09rt: Fix build with clang on non-MacHaitao Li-2/+7
2012-01-08Fix some bad code in the dict internerMarijn Haverbeke-11/+5
Issue #1436
2012-01-07fix valgrind error: allocate enough space for all type descsNiko Matsakis-1/+1
2012-01-06add rust_util.h header fileNiko Matsakis-1/+1
2012-01-06plug leak: free shared type descrs recursively, as we ought toNiko Matsakis-1/+3
2012-01-06fix how we walk functions to match new closure fmtNiko Matsakis-54/+52
2012-01-06rewrite task testsNiko Matsakis-32/+38
2012-01-06simplify task implNiko Matsakis-45/+29
2012-01-06Revert "rt: Reduce mac red zone to 6K"Brian Anderson-2/+2
This reverts commit d499e739a1eb67e887f5756f9dfef17199a6d041.
2012-01-06rt: Reduce mac red zone to 6KBrian Anderson-2/+2
2012-01-06rt: Fail the scheduler immediately on task failure in win32Brian Anderson-0/+2
2012-01-06Make binding of fns with bounded type parameters workMarijn Haverbeke-0/+62
Interns non-static dicts to heap-allocated equivalents so that they no longer have stack scope. Closes #1436
2012-01-06add alignment to i386 for good measure, though we do not yetNiko Matsakis-1/+1
save SSE regs in i386 (we ought to, though!)
2012-01-06fix alignment of registers structureNiko Matsakis-6/+3
2012-01-01add missing library, enable segmented stacks for freebsdJyun-Yan You-4/+6
2012-01-01forgot to add parenthesesJyun-Yan You-1/+1
2012-01-01freebsd supportUser Jyyou-22/+42
2011-12-29Save and restore xmm regs across the call to UPCALL_NEW_STACK during ↵Graydon Hoare-1/+30
__morestack, close #1388.
2011-12-29Remove obsolete comments.Graydon Hoare-4/+0
2011-12-28Tidy up some drift in runtime logging, close #1380.Graydon Hoare-15/+23
2011-12-25rt: Set the initial obstack size to 128 bytesBrian Anderson-5/+10
Double the size on each allocation
2011-12-22Revert all of yesterday's snapshots and try again. Cursed!Graydon Hoare-3/+3
2011-12-20Revert "wip"Brian Anderson-14/+1
This reverts commit aeadc6269ef76f4425a49d892ceac7ea311ef5c1.
2011-12-20rt: Lock before using the random number generatorBrian Anderson-5/+3
Seeing crashes here trying to stress test concurrent tasks
2011-12-20wipBrian Anderson-1/+14
2011-12-20rt: Remove rust_task::grow. ObsoleteBrian Anderson-11/+0
2011-12-20rt: Don't check the stack canary on most upcallsBrian Anderson-10/+4
2011-12-20Revert "rt: Reduce the mac red zone to 2K"Brian Anderson-2/+2
This reverts commit ba8f369f890f6c7241c616df552f0e2ebf1509c8.
2011-12-20rt: Reduce the mac red zone to 2KBrian Anderson-2/+2
2011-12-20rt: Reduce the linux red zone to 2KBrian Anderson-2/+2
2011-12-20rt: Do fewer stack canary checksBrian Anderson-3/+5
2011-12-20rt: Parenthesize the red zone macrosBrian Anderson-5/+5
2011-12-20rt: Add a canary value to the end of every stackBrian Anderson-4/+40
Check it on upcall entry and exit, and on stack deletion
2011-12-20rt: Run yet more task_start_wrapper cleanup on the C stackBrian Anderson-17/+33
2011-12-19rt: Don't reuse stack segments when they are not big enoughBrian Anderson-2/+3
2011-12-19rt: Rename asm_call_on_stack to __morestackBrian Anderson-14/+30
Newer gdb's will backtrace through functions named __morestack even if they change the stack.
2011-12-19rt: Zero the bottom frame's return address and base pointerBrian Anderson-2/+10
My reading of libunwind leads me to believe this is expected. Closes #1322
2011-12-19rt: Save and restore %rax/%eax in __morestackBrian Anderson-3/+9
This doesn't matter now since we use an out pointer for return values but it's sure to show up mysteriously someday.
2011-12-19rt: Remove some unused stack from i386/morestack.SBrian Anderson-9/+9
2011-12-19rt: Remove unused saves from __morestackBrian Anderson-10/+1
2011-12-19rt: Give upcall_new_stack the same convention as other upcallsBrian Anderson-58/+33
2011-12-19rt: Give upcall_del_stack the same convention as other upcallsBrian Anderson-24/+17