commit | 8264cf563991c882868af0aa162c32922285b2cd | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Tue Nov 11 23:27:57 2014 -0800 |
committer | Stephen Hines <srhines@google.com> | Wed Nov 12 14:13:18 2014 -0800 |
tree | d3aaf7c01768fecabbda560fcad4e00744aa8c58 | |
parent | 5984fc03b6189f19f3721423b92469e4908a49ef [diff] |
Clear up some object lifetime issues for ASTContext and Preprocessor. Bug: 18343568 https://code.google.com/p/android/issues/detail?id=79142 llvm-rs-cc was accidentally freeing memory that was still in use. The ASTContext and Preprocessor contain several strings and other pieces of data that are used during the generation of our reflected code. (cherry picked from commit c546630bbcc631bc963609c2288d4d9a18753e8d) Change-Id: I900faa3beb6b1e21524708ca2a23468da1de6011