summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-18 04:12:04 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-18 04:12:04 +0000
commitdf0c151ba67535d21fdf12e4a0d249b88d506ea1 (patch)
tree370e48071a32020e12439e44f645c1a8243e9535 /llvm/lib/Transforms
parent81ded935f8a9741b4778970f189f7840b68fd82d (diff)
downloadbcm5719-llvm-df0c151ba67535d21fdf12e4a0d249b88d506ea1.tar.gz
bcm5719-llvm-df0c151ba67535d21fdf12e4a0d249b88d506ea1.zip
Keep track of which modules have been loaded directly (e.g., via
-import-module) vs. loaded because some other module depends on them. As part of doing this, pass down the module that caused a module to be loaded directly, rather than assuming that we're loading a chain. Finally, write out all of the directly-loaded modules when serializing an AST file (using the new IMPORTS record), so that an AST file can depend on more than one other AST file, all of which will be loaded when that AST file is loaded. This allows us to form and load a tree of modules, but we can't yet load a DAG of modules. llvm-svn: 137923
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud