2011-11-17 07:02:25 +08:00
|
|
|
module diamond_top { header "diamond_top.h" }
|
2011-12-02 09:47:07 +08:00
|
|
|
module diamond_left {
|
|
|
|
header "diamond_left.h"
|
|
|
|
export diamond_top
|
|
|
|
}
|
|
|
|
module diamond_right {
|
|
|
|
header "diamond_right.h"
|
|
|
|
export diamond_top
|
|
|
|
}
|
|
|
|
module diamond_bottom {
|
|
|
|
header "diamond_bottom.h"
|
2011-12-06 01:28:06 +08:00
|
|
|
export *
|
2011-12-02 09:47:07 +08:00
|
|
|
}
|
2011-11-17 07:02:25 +08:00
|
|
|
module irgen { header "irgen.h" }
|
|
|
|
module lookup_left_objc { header "lookup_left.h" }
|
|
|
|
module lookup_right_objc { header "lookup_right.h" }
|
|
|
|
module lookup_left_cxx { header "lookup_left.hpp" }
|
|
|
|
module lookup_right_cxx { header "lookup_right.hpp" }
|
|
|
|
module module_private_left { header "module_private_left.h" }
|
|
|
|
module module_private_right { header "module_private_right.h" }
|
2012-10-11 08:46:49 +08:00
|
|
|
module macros_top {
|
|
|
|
header "macros_top.h"
|
|
|
|
}
|
|
|
|
module macros_left {
|
|
|
|
header "macros_left.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
module macros_right {
|
|
|
|
header "macros_right.h"
|
|
|
|
export *
|
2012-10-12 08:16:50 +08:00
|
|
|
explicit module undef {
|
|
|
|
header "macros_right_undef.h"
|
|
|
|
}
|
2012-10-11 08:46:49 +08:00
|
|
|
}
|
2011-11-17 07:02:25 +08:00
|
|
|
module macros { header "macros.h" }
|
|
|
|
module category_top { header "category_top.h" }
|
2011-12-03 04:08:44 +08:00
|
|
|
module category_left {
|
|
|
|
header "category_left.h"
|
|
|
|
export category_top
|
2013-01-17 07:00:23 +08:00
|
|
|
|
|
|
|
explicit module sub {
|
|
|
|
header "category_left_sub.h"
|
|
|
|
}
|
2011-12-03 04:08:44 +08:00
|
|
|
}
|
|
|
|
module category_right {
|
|
|
|
header "category_right.h"
|
|
|
|
export category_top
|
2013-01-17 07:00:23 +08:00
|
|
|
|
|
|
|
explicit module sub {
|
|
|
|
header "category_right_sub.h"
|
|
|
|
}
|
2011-12-03 04:08:44 +08:00
|
|
|
}
|
|
|
|
module category_bottom {
|
|
|
|
header "category_bottom.h"
|
|
|
|
export category_left
|
|
|
|
export category_right
|
|
|
|
}
|
2012-01-27 09:47:08 +08:00
|
|
|
module category_other { header "category_other.h" }
|
2011-11-17 07:02:25 +08:00
|
|
|
module redeclarations_left { header "redeclarations_left.h" }
|
|
|
|
module redeclarations_right { header "redeclarations_right.h" }
|
2012-04-12 15:56:21 +08:00
|
|
|
module redecl_namespaces_left { header "redecl_namespaces_left.h" }
|
|
|
|
module redecl_namespaces_right { header "redecl_namespaces_right.h" }
|
2011-11-17 07:02:25 +08:00
|
|
|
module load_failure { header "load_failure.h" }
|
2011-12-15 00:03:29 +08:00
|
|
|
|
|
|
|
module decldef {
|
|
|
|
explicit module Decl { header "decl.h" }
|
2011-12-16 11:12:41 +08:00
|
|
|
explicit module Decl2 { header "decl2.h" }
|
2011-12-15 00:03:29 +08:00
|
|
|
explicit module Def { header "def.h" }
|
Completely re-implement (de-)serialization of declaration
chains. The previous implementation relied heavily on the declaration
chain being stored as a (circular) linked list on disk, as it is in
memory. However, when deserializing from multiple modules, the
different chains could get mixed up, leading to broken declaration chains.
The new solution keeps track of the first and last declarations in the
chain for each module file. When we load a declaration, we search all
of the module files for redeclarations of that declaration, then
splice together all of the lists into a coherent whole (along with any
redeclarations that were actually parsed).
As a drive-by fix, (de-)serialize the redeclaration chains of
TypedefNameDecls, which had somehow gotten missed previously. Add a
test of this serialization.
This new scheme creates a redeclaration table that is fairly large in
the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The
table is mmap'd in and searched via a binary search, but it's still
quite large. A future tweak will eliminate entries for declarations
that have no redeclarations anywhere, and should
drastically reduce the size of this table.
llvm-svn: 146841
2011-12-18 07:38:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
module redecl_merge_top {
|
2011-12-21 02:11:52 +08:00
|
|
|
header "redecl-merge-top.h"
|
|
|
|
explicit module Explicit { header "redecl-merge-top-explicit.h" }
|
2012-11-16 03:47:16 +08:00
|
|
|
exclude header "nonexistent.h"
|
Completely re-implement (de-)serialization of declaration
chains. The previous implementation relied heavily on the declaration
chain being stored as a (circular) linked list on disk, as it is in
memory. However, when deserializing from multiple modules, the
different chains could get mixed up, leading to broken declaration chains.
The new solution keeps track of the first and last declarations in the
chain for each module file. When we load a declaration, we search all
of the module files for redeclarations of that declaration, then
splice together all of the lists into a coherent whole (along with any
redeclarations that were actually parsed).
As a drive-by fix, (de-)serialize the redeclaration chains of
TypedefNameDecls, which had somehow gotten missed previously. Add a
test of this serialization.
This new scheme creates a redeclaration table that is fairly large in
the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The
table is mmap'd in and searched via a binary search, but it's still
quite large. A future tweak will eliminate entries for declarations
that have no redeclarations anywhere, and should
drastically reduce the size of this table.
llvm-svn: 146841
2011-12-18 07:38:30 +08:00
|
|
|
}
|
|
|
|
module redecl_merge_left {
|
|
|
|
header "redecl-merge-left.h"
|
|
|
|
export *
|
|
|
|
}
|
2011-12-23 03:44:59 +08:00
|
|
|
module redecl_merge_left_left {
|
|
|
|
header "redecl-merge-left-left.h"
|
|
|
|
export *
|
|
|
|
}
|
Completely re-implement (de-)serialization of declaration
chains. The previous implementation relied heavily on the declaration
chain being stored as a (circular) linked list on disk, as it is in
memory. However, when deserializing from multiple modules, the
different chains could get mixed up, leading to broken declaration chains.
The new solution keeps track of the first and last declarations in the
chain for each module file. When we load a declaration, we search all
of the module files for redeclarations of that declaration, then
splice together all of the lists into a coherent whole (along with any
redeclarations that were actually parsed).
As a drive-by fix, (de-)serialize the redeclaration chains of
TypedefNameDecls, which had somehow gotten missed previously. Add a
test of this serialization.
This new scheme creates a redeclaration table that is fairly large in
the PCH file (on the order of 400k for Cocoa.h's 12MB PCH file). The
table is mmap'd in and searched via a binary search, but it's still
quite large. A future tweak will eliminate entries for declarations
that have no redeclarations anywhere, and should
drastically reduce the size of this table.
llvm-svn: 146841
2011-12-18 07:38:30 +08:00
|
|
|
module redecl_merge_right {
|
|
|
|
header "redecl-merge-right.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
module redecl_merge_bottom {
|
|
|
|
header "redecl-merge-bottom.h"
|
|
|
|
export *
|
|
|
|
}
|
2012-01-07 17:11:48 +08:00
|
|
|
module namespaces_top {
|
|
|
|
header "namespaces-top.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
module namespaces_left {
|
|
|
|
header "namespaces-left.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
module namespaces_right {
|
|
|
|
header "namespaces-right.h"
|
|
|
|
export *
|
|
|
|
}
|
2012-10-02 17:09:43 +08:00
|
|
|
module templates_top {
|
|
|
|
header "templates-top.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
module templates_left {
|
|
|
|
header "templates-left.h"
|
|
|
|
export *
|
|
|
|
}
|
|
|
|
module templates_right {
|
|
|
|
header "templates-right.h"
|
|
|
|
export *
|
|
|
|
}
|
2012-01-25 08:59:09 +08:00
|
|
|
module MethodPoolA {
|
|
|
|
header "MethodPoolA.h"
|
2013-01-17 02:47:38 +08:00
|
|
|
|
2013-02-08 03:13:24 +08:00
|
|
|
explicit module Sub2 {
|
|
|
|
header "MethodPoolASub2.h"
|
|
|
|
}
|
|
|
|
|
2013-01-17 02:47:38 +08:00
|
|
|
explicit module Sub {
|
|
|
|
header "MethodPoolASub.h"
|
|
|
|
}
|
2012-01-25 08:59:09 +08:00
|
|
|
}
|
|
|
|
module MethodPoolB {
|
|
|
|
header "MethodPoolB.h"
|
2013-01-17 02:47:38 +08:00
|
|
|
|
|
|
|
explicit module Sub {
|
|
|
|
header "MethodPoolBSub.h"
|
|
|
|
}
|
2012-01-25 08:59:09 +08:00
|
|
|
}
|
2012-05-17 00:31:58 +08:00
|
|
|
module import_decl {
|
|
|
|
header "import-decl.h"
|
|
|
|
}
|
2012-11-07 03:39:40 +08:00
|
|
|
|
|
|
|
framework module * {
|
|
|
|
exclude NotAModule
|
|
|
|
}
|
2013-01-09 08:47:56 +08:00
|
|
|
|
|
|
|
module linkage_merge_left {
|
|
|
|
explicit module sub {
|
|
|
|
header "linkage-merge-sub.h"
|
|
|
|
}
|
|
|
|
}
|
2013-01-15 01:21:00 +08:00
|
|
|
|
|
|
|
module autolink {
|
|
|
|
header "autolink.h"
|
|
|
|
link "autolink"
|
|
|
|
|
|
|
|
explicit module sub {
|
|
|
|
header "autolink-sub.h"
|
|
|
|
link "autolink_sub"
|
|
|
|
}
|
|
|
|
|
|
|
|
explicit module sub2 {
|
|
|
|
header "autolink-sub2.h"
|
|
|
|
link framework "autolink_framework"
|
|
|
|
}
|
|
|
|
}
|
2013-02-02 07:45:03 +08:00
|
|
|
|
|
|
|
module weird_objc {
|
|
|
|
header "weird_objc.h"
|
|
|
|
}
|
2013-02-07 06:40:31 +08:00
|
|
|
|
|
|
|
module ignored_macros {
|
|
|
|
header "ignored_macros.h"
|
|
|
|
}
|
2013-02-08 08:37:45 +08:00
|
|
|
|
|
|
|
module cxx_many_overloads {
|
|
|
|
header "cxx-many-overloads.h"
|
|
|
|
}
|