Changed the StackID to store its start PC address as a load address instead of 
a section offset address.

Fixed up some very inefficient STL code.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112230 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectMultiword.cpp b/source/Commands/CommandObjectMultiword.cpp
index ed118f7..0a2987c 100644
--- a/source/Commands/CommandObjectMultiword.cpp
+++ b/source/Commands/CommandObjectMultiword.cpp
@@ -188,11 +188,10 @@
     output_stream.PutCString ("The following subcommands are supported:\n\n");
 
     CommandMap::iterator pos;
-    std::string longest_word = interpreter.FindLongestCommandWord (m_subcommand_dict);
-    uint32_t max_len = 0;
+    uint32_t max_len = interpreter.FindLongestCommandWord (m_subcommand_dict);
 
-    if (! longest_word.empty())
-        max_len = strlen (longest_word.c_str()) + 4; // Indent the output by 4 spaces.
+    if (max_len)
+        max_len += 4; // Indent the output by 4 spaces.
 
     for (pos = m_subcommand_dict.begin(); pos != m_subcommand_dict.end(); ++pos)
     {