graydon/rust — pull request #1147 by lht (2011-11-07 15:08:43+00:00)
Title: Fix Issue 476: emit LLVM assembly

Hi,

I split the implementation to 2 commits.

852e789 rustc: Set LLVM module identifier as crate name
b12de98 rustc: Add support of generating LLVM assembly

Suffix ".s" is used for compatible with Clang, although utilities like "llvm-dis" and "opt" rename file.bc to file.ll by default.

Personally, I think ".ll" is better for debugging purpose. Opinions?

Haitao