Skip to content
  1. Oct 26, 2011
  2. Oct 25, 2011
    • Sean Callanan's avatar
      Fixed a problem where local variables conflict with · efa7d1f1
      Sean Callanan authored
      types of the same name.  If a local variable with the
      given name is found (and we are not searching a
      specific namespace) we stop right then and there and
      report it.
      
      llvm-svn: 142962
      efa7d1f1
    • Sean Callanan's avatar
      Improved handling of static data in the expression · c70ed46d
      Sean Callanan authored
      parser.  Now expression like the following work as
      expected:
      
      -
      (lldb) expr struct { int a; int b; } $blah = { 10, 20 }
      <no result>
      (lldb) expr $blah
      (<anonymous struct at Parse:6:5>) $blah = {
        (int) a = 10
        (int) b = 20
      }
      -
      
      Now the IRForTarget subsystem knows how to handle
      static initializers of various composite types.
      
      Also removed an unnecessary parameter from
      ClangExpressionDeclMap::GetFunctionInfo.
      
      llvm-svn: 142936
      c70ed46d
    • Sean Callanan's avatar
      Fixed our handling of const functions, compensating · f463856f
      Sean Callanan authored
      for debug information that occasionally gets the
      const-ness of member functions wrong.  We used to
      demangle the name, add "const," and remangle it; now
      we handle the mangled name directly, which is more
      robust.
      
      llvm-svn: 142933
      f463856f
    • Johnny Chen's avatar
      Patch from Dragos to fix Linux build! · 3d0fcf5e
      Johnny Chen authored
      llvm-svn: 142932
      3d0fcf5e
    • Greg Clayton's avatar
      Updated all commands that use a "--format" / "-f" options to use the new · 1deb7962
      Greg Clayton authored
      OptionGroupFormat. Updated OptionGroupFormat to be able to also use the
      "--size" and "--count" options. Commands that use a OptionGroupFormat instance
      can choose which of the options they want by initializing OptionGroupFormat
      accordingly. Clients can either get only the "--format", "--format" + "--size",
      or "--format" + "--size" + "--count". This is in preparation for upcoming
      chnages where there are alternate ways (GDB format specification) to set a
      format. 
      
      llvm-svn: 142911
      1deb7962
    • Jason Molenda's avatar
      Prefix display/undisplay regexp command alises with "_regexp" as per the · 0c8e0069
      Jason Molenda authored
      style of the other regexp command aliases.
      
      llvm-svn: 142902
      0c8e0069
    • Greg Clayton's avatar
      <rdar://problem/10335756> · 4495393f
      Greg Clayton authored
      Fixed an issue where bad DWARF from clang would get recycled from DWARF back
      into types and cause clang to assert and die, killing the lldb binary, when
      it tried to used the type in an expression.
      
      llvm-svn: 142897
      4495393f
    • Greg Clayton's avatar
      Simplified the CommandInterpreter::StripFirstWord logic by making it a static · 51964167
      Greg Clayton authored
      function and having it not require both a bool and a quote char to fill in.
      We intend to get rid of this functionality when we rewrite the command 
      interpreter for streams eventually, but not for now.
      
      llvm-svn: 142888
      51964167
    • Johnny Chen's avatar
      Add more context information to the stop-hook mechanism by displaying the stop-hook · aeab25c7
      Johnny Chen authored
      command in the '- Hook id' header.  This should improve readbility of the 'display'
      command if, for example, we have issued 'display a' and 'display b' which turn into
      "target stop-hook add -o 'expr -- a'" and "target stop-hook add -o 'expr -- b'".
      
      Plus some minor change in TestAbbreviations.py to conditionalize the platform-specific
      checkings of the "image list" output.
      
      llvm-svn: 142868
      aeab25c7
  3. Oct 24, 2011
  4. Oct 23, 2011
  5. Oct 22, 2011
  6. Oct 21, 2011
  7. Oct 20, 2011
  8. Oct 19, 2011
    • Greg Clayton's avatar
      Moved lldb::user_id_t values to be 64 bit. This was going to be needed for · 81c22f61
      Greg Clayton authored
      process IDs, and thread IDs, but was mainly needed for for the UserID's for
      Types so that DWARF with debug map can work flawlessly. With DWARF in .o files
      the type ID was the DIE offset in the DWARF for the .o file which is not
      unique across all .o files, so now the SymbolFileDWARFDebugMap class will
      make the .o file index part (the high 32 bits) of the unique type identifier
      so it can uniquely identify the types.
      
      llvm-svn: 142534
      81c22f61
    • Greg Clayton's avatar
      Changed lldb_private::Type over to use the intrusive ref counted pointers · 85ae2e13
      Greg Clayton authored
      so we don't have to lookup types in a type list by ID.
      
      Changed the DWARF parser to remove the "can externally complete myself" bits
      from the type when we are in the process of completing the type itself to
      avoid an onslaught of external visible decl requests from the 
      clang::ExternalASTSource.
      
      llvm-svn: 142461
      85ae2e13
  9. Oct 18, 2011
Loading