diff options
author | Sean Callanan <scallanan@apple.com> | 2011-11-16 01:54:57 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-11-16 01:54:57 +0000 |
commit | 6d6acc89ad937e97f1c804e5f451af9ef965cef8 (patch) | |
tree | 9972576e76c2afd8f50062a003e717a29cde7f05 /llvm/lib/CodeGen/MachineFunctionAnalysis.cpp | |
parent | 415e8aa84a82d26e0df07cdc39c7b95c386c4c10 (diff) | |
download | llvm-6d6acc89ad937e97f1c804e5f451af9ef965cef8.zip llvm-6d6acc89ad937e97f1c804e5f451af9ef965cef8.tar.gz llvm-6d6acc89ad937e97f1c804e5f451af9ef965cef8.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions