summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-18 19:34:55 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-18 19:34:55 +0000
commitf4f62003f452ff49894fc9fa44b93d7a1b1a8b19 (patch)
treedffe40a25585b81d2ae63318482b62ba632cfb65 /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentaf3b3256270ca41eb0ab5e8d0af1ba2e0d698689 (diff)
downloadbcm5719-llvm-f4f62003f452ff49894fc9fa44b93d7a1b1a8b19.tar.gz
bcm5719-llvm-f4f62003f452ff49894fc9fa44b93d7a1b1a8b19.zip
When we enter a module within a linkage specification, switch the linkage
specification and the TU to the new module. This is necessary to get the module ownership correct for entities that we temporarily hang off the TranslationUnitDecl, such as template parameters and function parameters. llvm-svn: 303373
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud