Skip to content

Commit

Permalink
Add comments to span debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
sanxiyn committed Feb 7, 2014
1 parent 5109d1a commit e5463b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/driver/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub fn debugging_opts_map() -> ~[(&'static str, &'static str, u64)] {
("no-landing-pads", "omit landing pads for unwinding",
NO_LANDING_PADS),
("debug-llvm", "enable debug output from LLVM", DEBUG_LLVM),
("show-span", "show spans", SHOW_SPAN),
("show-span", "show spans for compiler debugging", SHOW_SPAN),
("count-type-sizes", "count the sizes of aggregate types",
COUNT_TYPE_SIZES),
("meta-stats", "gather metadata statistics", META_STATS),
Expand Down
5 changes: 5 additions & 0 deletions src/librustc/front/show_span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

//! Span debugger
//!
//! This module shows spans for all expressions in the crate
//! to help with compiler debugging.

use syntax::ast;
use syntax::visit;
use syntax::visit::Visitor;
Expand Down

5 comments on commit e5463b9

@bors
Copy link
Contributor

@bors bors commented on e5463b9 Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from huonw
at sanxiyn@e5463b9

@bors
Copy link
Contributor

@bors bors commented on e5463b9 Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging sanxiyn/rust/show-span = e5463b9 into auto

@bors
Copy link
Contributor

@bors bors commented on e5463b9 Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sanxiyn/rust/show-span = e5463b9 merged ok, testing candidate = c3ccaac

@bors
Copy link
Contributor

@bors bors commented on e5463b9 Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on e5463b9 Feb 7, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = c3ccaac

Please sign in to comment.