diff options
| author | Kiet Tran <ktt3ja@gmail.com> | 2014-01-11 03:21:53 -0500 |
|---|---|---|
| committer | Kiet Tran <ktt3ja@gmail.com> | 2014-01-12 13:54:36 -0500 |
| commit | deb3ca53a8d462d36283bdcb2ae796f25b3d2209 (patch) | |
| tree | 784374731e0e2290f701b40285edfbd368c3164d /src/rustllvm/RustWrapper.cpp | |
| parent | 1fda761e9cc5b5bf9d5f0897f1556958a7746bf5 (diff) | |
| download | rust-deb3ca53a8d462d36283bdcb2ae796f25b3d2209.tar.gz rust-deb3ca53a8d462d36283bdcb2ae796f25b3d2209.zip | |
Mark allowed dead code and lang items as live
Dead code pass now explicitly checks for `#[allow(dead_code)]` and `#[lang=".."]` attributes on items and marks them as live if they have those attributes. The former is done so that if we want to suppress warnings for a group of dead functions, we only have to annotate the "root" of the call chain.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
