Skip to content

Commit 6eb3c0f

Browse files
debuginfo.rs: Removed trailing whitespace.
1 parent 60474f3 commit 6eb3c0f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/librustc/middle/trans/debuginfo.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
/*!
1212
# Debug Info Module
1313
14-
This module serves the purpose of generating debug symbols. We use LLVM's
14+
This module serves the purpose of generating debug symbols. We use LLVM's
1515
[source level debugging](http://llvm.org/docs/SourceLevelDebugging.html) features for generating
1616
the debug information. The general principle is this:
1717
18-
Given the right metadata in the LLVM IR, the LLVM code generator is able to create DWARF debug
19-
symbols for the given code. The [metadata](http://llvm.org/docs/LangRef.html#metadata-type) is
20-
structured much like DWARF *debugging information entries* (DIE), representing type information
18+
Given the right metadata in the LLVM IR, the LLVM code generator is able to create DWARF debug
19+
symbols for the given code. The [metadata](http://llvm.org/docs/LangRef.html#metadata-type) is
20+
structured much like DWARF *debugging information entries* (DIE), representing type information
2121
such as datatype layout, function signatures, block layout, variable location and scope information,
2222
etc. It is the purpose of this module to generate correct metadata and insert it into the LLVM IR.
2323
2424
As the exact format of metadata trees may change between different LLVM versions, we now use LLVM
2525
[DIBuilder](http://llvm.org/docs/doxygen/html/classllvm_1_1DIBuilder.html) to create metadata
26-
where possible. This will hopefully ease the adaption of this module to future LLVM versions.
26+
where possible. This will hopefully ease the adaption of this module to future LLVM versions.
2727
28-
The public API of the module is a set of functions that will insert the correct metadata into the
28+
The public API of the module is a set of functions that will insert the correct metadata into the
2929
LLVM IR when called with the right parameters. The module is thus driven from an outside client with
3030
functions like `debuginfo::create_local_var(bcx: block, local: @ast::local)`.
3131
@@ -129,7 +129,7 @@ pub fn finalize(cx: @mut CrateContext) {
129129

130130
/// Creates debug information for the given local variable.
131131
///
132-
/// Adds the created metadata nodes directly to the crate's IR.
132+
/// Adds the created metadata nodes directly to the crate's IR.
133133
/// The return value should be ignored if called from outside of the debuginfo module.
134134
pub fn create_local_var(bcx: block, local: @ast::local) -> DIVariable {
135135
let cx = bcx.ccx();
@@ -182,7 +182,7 @@ pub fn create_local_var(bcx: block, local: @ast::local) -> DIVariable {
182182

183183
/// Creates debug information for the given function argument.
184184
///
185-
/// Adds the created metadata nodes directly to the crate's IR.
185+
/// Adds the created metadata nodes directly to the crate's IR.
186186
/// The return value should be ignored if called from outside of the debuginfo module.
187187
pub fn create_arg(bcx: block, arg: ast::arg, span: span) -> Option<DIVariable> {
188188
debug!("create_arg");
@@ -246,7 +246,7 @@ pub fn update_source_pos(bcx: block, span: span) {
246246

247247
/// Creates debug information for the given function.
248248
///
249-
/// Adds the created metadata nodes directly to the crate's IR.
249+
/// Adds the created metadata nodes directly to the crate's IR.
250250
/// The return value should be ignored if called from outside of the debuginfo module.
251251
pub fn create_function(fcx: fn_ctxt) -> DISubprogram {
252252
let cx = fcx.ccx;

0 commit comments

Comments
 (0)