diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-03-24 06:36:48 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-03-24 06:36:48 +0000 |
commit | c2bb81860b99e572477fab761ec4246933db29dd (patch) | |
tree | ac8b9c98fc73764801ec794b07228ffbc4d31c3b /llvm/lib/MC/SubtargetFeature.cpp | |
parent | 20f3da11e8760c994a0c9db9cab08f7442937201 (diff) | |
download | bcm5719-llvm-c2bb81860b99e572477fab761ec4246933db29dd.tar.gz bcm5719-llvm-c2bb81860b99e572477fab761ec4246933db29dd.zip |
[modules] Deserialize CXXCtorInitializer list for a constructor lazily.
Previously we'd deserialize the list of mem-initializers for a constructor when
we deserialized the declaration of the constructor. That could trigger a
significant amount of unnecessary work (pulling in all base classes
recursively, for a start) and was causing problems for the modules buildbot due
to cyclic deserializations. We now deserialize these on demand.
This creates a certain amount of duplication with the handling of
CXXBaseSpecifiers; I'll look into reducing that next.
llvm-svn: 233052
Diffstat (limited to 'llvm/lib/MC/SubtargetFeature.cpp')
0 files changed, 0 insertions, 0 deletions