reduce size of SmallString to something more reasonable

llvm-svn: 80710
This commit is contained in:
Jim Grosbach 2009-09-01 18:55:08 +00:00
parent 9b463729d7
commit e4459e466f
2 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ void DwarfException::EmitExceptionTable() {
EmitLabel("exception", SubprogramCount);
if (MAI->getExceptionHandlingType() == ExceptionHandling::SjLj) {
SmallString<256> LSDAName;
SmallString<16> LSDAName;
raw_svector_ostream(LSDAName) << MAI->getPrivateGlobalPrefix() <<
"_LSDA_" << Asm->getFunctionNumber();
O << LSDAName.str() << ":\n";

View File

@ -160,7 +160,7 @@ namespace {
std::string Name;
if (ACPV->isLSDA()) {
SmallString<256> LSDAName;
SmallString<16> LSDAName;
raw_svector_ostream(LSDAName) << MAI->getPrivateGlobalPrefix() <<
"_LSDA_" << getFunctionNumber();
Name = LSDAName.str();