rust/src/rt
Rafael Ávila de Espíndola a3ff02f126 Split start into rustc and rustboot versions. This introduces a bit of
duplication, but we will hopefully drop the rustboot one soon.

This is also a preparation for changing the rustc one to have the activate glue
return to the exit glue which will then call the main function.

This (returning to the function that calls main) matches what happens when
loader stats a program or a new thread. It lets gdb produce good backtraces
and should help with EH too.
2011-05-03 10:24:18 -04:00
..
bigint Populate tree. 2010-06-23 21:03:09 -07:00
isaac Populate tree. 2010-06-23 21:03:09 -07:00
msvc Add some C99 and C++ compatibility headers for MSVC 2011-03-21 10:24:00 -07:00
sync add FIXME related to the -fno-strict-aliasing workaround 2011-04-08 02:23:33 +02:00
test Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup so access to argv works. 2011-02-22 16:37:27 -08:00
uthash Populate tree. 2010-06-23 21:03:09 -07:00
util add -O2 when compiling rt, fix warnings triggered by optimizer 2011-04-08 00:41:52 +02:00
circular_buffer.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
circular_buffer.h Cleanup circular_buffer 2011-01-10 11:31:33 -08:00
globals.h Added timed_wait to condition variables. 2010-08-09 07:04:38 -07:00
memcheck.h Populate tree. 2010-06-23 21:03:09 -07:00
memory.h Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel. 2010-09-07 18:44:12 -07:00
memory_region.cpp Comment-out TRACK_ALLOCATIONS again. Leave a note about it. 2011-03-02 13:43:33 -08:00
memory_region.h Make the ugly detailed leak-spray on rustc failures optional. 2010-11-30 17:10:51 -08:00
rust.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust.h Added a few utility classes, cleaned up the include order of .h files, and started to make the Rust kernel own domain message queues rather than the Rust domains themselves. 2010-09-07 18:41:07 -07:00
rust_builtin.cpp stdlib: Add a Time module to the standard library 2011-04-29 11:54:06 -07:00
rust_chan.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_chan.h Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel. 2010-09-07 18:44:12 -07:00
rust_comm.cpp Move ports out into their own file, add data_message and make communication system use it (and proxies) instead of existing token scheme. 2010-07-28 20:30:29 -07:00
rust_crate.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_crate_cache.cpp Slightly more helpful error message for "null lib handle" 2011-04-28 13:26:19 -07:00
rust_crate_reader.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_dom.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_dom.h Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_dwarf.h Populate tree. 2010-06-23 21:03:09 -07:00
rust_internal.h Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_kernel.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_kernel.h Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_log.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_log.h Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_message.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_message.h Fixed deadlock caused by the message pump not being notified of new message sends. 2010-09-16 00:51:03 -07:00
rust_port.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_port.h Synthesize a flush_chan upcall right before a channel's ref_count drops to zero. This should only happen in the Rust code and not in the drop glue, or on the unwind path. This change allows the task owning the channel to block on a flush and delete its own channel. This change also cleans up some code around rust_port and rust_chan. 2010-08-09 08:15:34 -07:00
rust_proxy.cpp Added a .cpp file for rust_proxy to help avoid .h file dependencies in the future. 2010-09-07 18:41:08 -07:00
rust_proxy.h Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel. 2010-09-07 18:44:12 -07:00
rust_run_program.cpp Placate win32 build; no idea how it can be working currently on tinderbox. 2011-03-25 00:16:04 -07:00
rust_srv.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_srv.h Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel. 2010-09-07 18:44:12 -07:00
rust_task.cpp Split start into rustc and rustboot versions. This introduces a bit of 2011-05-03 10:24:18 -04:00
rust_task.h Split start into rustc and rustboot versions. This introduces a bit of 2011-05-03 10:24:18 -04:00
rust_task_list.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_task_list.h Cleanup, refactoring, and some runtime tests. 2010-09-10 14:38:31 -07:00
rust_timer.cpp Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rust_upcall.cpp Log refcounts in upcall_vec_grow. 2011-04-28 13:26:19 -07:00
rust_util.h Overhaul logging system in runtime 2011-04-19 16:57:13 +02:00
rustrt.def.in stdlib: Add a Time module to the standard library 2011-04-29 11:54:06 -07:00
valgrind.h Populate tree. 2010-06-23 21:03:09 -07:00