mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
reduce size of SmallString to something more reasonable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80710 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
da230cb876
commit
ee793a6c19
@ -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
Block a user