| commit | 6d6acc89ad937e97f1c804e5f451af9ef965cef8 | [log] [tgz] |
|---|---|---|
| author | Sean Callanan <scallanan@apple.com> | Wed Nov 16 01:54:57 2011 +0000 |
| committer | Sean Callanan <scallanan@apple.com> | Wed Nov 16 01:54:57 2011 +0000 |
| tree | 9972576e76c2afd8f50062a003e717a29cde7f05 | |
| parent | 415e8aa84a82d26e0df07cdc39c7b95c386c4c10 [diff] |
Fixed a problem where the target didn't use a NULL-terminated C string to store the contents of the expression prefix file. This meant that expressions, when printing the contents of the prefix into the expression's text, would invariably put in bad data after the end of the expression. Now, instead, we store the prefix contents in a std::string, which handles null-termination correctly. llvm-svn: 144760