Skip to content

Commit f1cc735

Browse files
author
git apple-llvm automerger
committed
Merge commit '3647ff159a2f' from llvm.org/main into next
2 parents 17dd44e + 3647ff1 commit f1cc735

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lldb/source/Commands/CommandObjectCommands.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,9 +1419,9 @@ class CommandObjectScriptingObjectParsed : public CommandObjectParsed {
14191419
m_options_definition_up.reset(new OptionDefinition[m_num_options]);
14201420
// We need to hand out pointers to contents of these vectors; we reserve
14211421
// as much as we'll need up front so they don't get freed on resize...
1422-
m_usage_container.reserve(m_num_options);
1423-
m_enum_storage.reserve(m_num_options);
1424-
m_enum_vector.reserve(m_num_options);
1422+
m_usage_container.resize(m_num_options);
1423+
m_enum_storage.resize(m_num_options);
1424+
m_enum_vector.resize(m_num_options);
14251425

14261426
size_t counter = 0;
14271427
size_t short_opt_counter = 0;

lldb/test/API/commands/command/script/add/TestAddParsedCommand.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class ParsedCommandTestCase(TestBase):
1515

1616
# This crashes on the x86_64 Debian bot, but the failure is not helpful.
1717
# Disable the test while I try to find a way to reproduce.
18-
@skipIfLinux
1918
def test(self):
2019
self.pycmd_tests()
2120

0 commit comments

Comments
 (0)