diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-17 00:13:19 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-17 00:13:19 +0000 |
commit | 12bfa3859dd0ef5c5871eec6268f98675e1dd844 (patch) | |
tree | 8d551e866d6d4e70ba47dce2b7130fb0c44c6afe /llvm/lib/CodeGen/CodePlacementOpt.cpp | |
parent | c7d6a8327c703297afc45391771975b2db9740ee (diff) | |
download | bcm5719-llvm-12bfa3859dd0ef5c5871eec6268f98675e1dd844.tar.gz bcm5719-llvm-12bfa3859dd0ef5c5871eec6268f98675e1dd844.zip |
Merge the "types" and "declarations" blocks in the precompiled header
format, so that we don't end up with multiple declaration and types
blocks. Also, fix a few obscure bugs with PCH loading and generation:
- If the DeclIDs DenseMap reallocates while we are writing a
declaration (due to recursively writing other declarations), we
could end up writing a bad ID to ExternalDefinitions.
- When loading an ArrayLoc (part of DeclaratorInfo), we need to set
the size expression to NULL if no size expression was provided.
PCH -> AST rewriting is still partly broken, unfortunately.
llvm-svn: 84293
Diffstat (limited to 'llvm/lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions