1
1
// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
2
2
// file at the top-level directory of this distribution and at
3
- // http://! rust-lang.org/COPYRIGHT.
3
+ // http://rust-lang.org/COPYRIGHT.
4
4
//
5
5
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
- // http://! www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
- // <LICENSE-MIT or http://! opensource.org/licenses/MIT>, at your
6
+ // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
11
// See doc.rs for documentation.
12
12
mod doc;
13
13
14
- pub mod gdb;
15
- mod utils;
16
- mod create;
17
- mod namespace;
18
- mod types;
19
- mod metadata;
20
- mod adt;
21
-
22
14
use self :: VariableAccess :: * ;
23
15
use self :: VariableKind :: * ;
24
16
use self :: InternalDebugLocation :: * ;
@@ -30,7 +22,8 @@ use self::utils::{debug_context, DIB, span_start,
30
22
use self :: create:: { declare_local, create_DIArray, is_node_local_to_unit} ;
31
23
use self :: namespace:: { namespace_for_item, NamespaceTreeNode } ;
32
24
use self :: types:: { compute_debuginfo_type_name, push_debuginfo_type_name} ;
33
- use self :: metadata:: { type_metadata, file_metadata, scope_metadata, compile_unit_metadata, MetadataCreationResult } ;
25
+ use self :: metadata:: { type_metadata, file_metadata, scope_metadata,
26
+ compile_unit_metadata, MetadataCreationResult } ;
34
27
use self :: adt:: { MemberDescriptionFactory , set_members_of_composite_type} ;
35
28
36
29
use llvm;
@@ -59,6 +52,15 @@ use syntax::codemap::{Span, Pos};
59
52
use syntax:: { ast, codemap, ast_util, ast_map} ;
60
53
use syntax:: parse:: token:: { self , special_idents} ;
61
54
55
+ pub mod gdb;
56
+ mod utils;
57
+ mod create;
58
+ mod namespace;
59
+ mod types;
60
+ mod metadata;
61
+ mod adt;
62
+
63
+
62
64
#[ allow( non_upper_case_globals) ]
63
65
const DW_TAG_auto_variable : c_uint = 0x100 ;
64
66
#[ allow( non_upper_case_globals) ]
0 commit comments