reduce size of SmallString to something more reasonable
llvm-svn: 80710
This commit is contained in:
parent
9b463729d7
commit
e4459e466f
|
@ -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";
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue