Skip to content

Commit 4137c9a

Browse files
---
yaml --- r: 63500 b: refs/heads/snap-stage3 c: 6eb3c0f h: refs/heads/master v: v3
1 parent b00b39c commit 4137c9a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 60474f395c1736773fdd1d86d053dc380b2dad8c
4+
refs/heads/snap-stage3: 6eb3c0f30daa0db6fc219694a3028917bb1596af
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/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)