rust/src
Haitao Li 47ea57fead rustc: Add suffix ".rc" to LLVM module identifier
LLVM code generator emits the ".file filename" directive for ELF
backends. Value of the "filename" is set as the LLVM module identifier.
Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as
other symbols such as a function name in the module.

This patch adds a ".rc" suffix (means crates) to LLVM module identifier
to workaround the bug.

Fixes issue #1251.

1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-05 17:21:20 +08:00
..
cargo cargo: support build-from-source 2011-12-01 19:49:17 -08:00
comp rustc: Add suffix ".rc" to LLVM module identifier 2011-12-05 17:21:20 +08:00
compiletest when type checking still pass in the rustc args from cmd line 2011-11-29 12:51:10 -08:00
etc build: added CFG_INSTALL_SNAP for automatically activating test snapshots 2011-12-02 12:23:50 -08:00
fuzzer Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
lib parse: typeck: enabling trivial casts of tail-call return values 2011-12-02 11:38:24 -08:00
libuv@f1859eb841 Re-add libuv as a submodule. 2011-11-08 19:01:47 -08:00
llvm@80b1ae9292 Upgrade LLVM to svn revision 145779 2011-12-04 14:59:56 -08:00
rt rt: Update 32-bit __morestack for recent LLVM changes 2011-12-04 20:40:34 -08:00
rustllvm Upgrade LLVM to svn revision 145779 2011-12-04 14:59:56 -08:00
test rustc: Add suffix ".rc" to LLVM module identifier 2011-12-05 17:21:20 +08:00
README Revert trivial commit. 2011-09-20 17:20:14 -07:00
snapshots.txt Register snapshots 2011-11-30 14:58:54 -08:00

This is preliminary version of the Rust compiler.

Source layout:

comp/              The self-hosted compiler

lib/               The standard library

rustllvm/          LLVM support code

rt/                The runtime system
rt/rust_*.cpp      - The majority of the runtime services
rt/isaac           - The PRNG used for pseudo-random choices in the runtime
rt/bigint          - The bigint library used for the 'big' type
rt/uthash          - Small hashtable-and-list library for C, used in runtime
rt/libuv           - The library used for async IO in the runtime
rt/{sync,util}     - Small utility classes for the runtime.

test/              Testsuite
test/compile-fail  - Tests that should fail to compile
test/run-fail      - Tests that should compile, run and fail
test/run-pass      - Tests that should compile, run and succeed
test/bench         - Benchmarks and miscellanea

Please be gentle, it's a work in progress.