Skip to content
  1. Feb 16, 2012
  2. Feb 15, 2012
    • Sean Callanan's avatar
      Stop finding bare symbols when we're explicitly · 3ae61794
      Sean Callanan authored
      told to look in a namespace.
      
      llvm-svn: 150590
      3ae61794
    • Enrico Granata's avatar
      adding a new test case for the SB formatters API · 1422d676
      Enrico Granata authored
      llvm-svn: 150559
      1422d676
    • Enrico Granata's avatar
      <rdar://problem/10062621> · 061858ce
      Enrico Granata authored
      New public API for handling formatters: creating, deleting, modifying categories, and formatters, and managing type/formatter association.
      This provides SB classes for each of the main object types involved in providing formatter support:
       SBTypeCategory
       SBTypeFilter
       SBTypeFormat
       SBTypeSummary
       SBTypeSynthetic
      plus, an SBTypeNameSpecifier class that is used on the public API layer to abstract the notion that formatters can be applied to plain type-names as well as to regular expressions
      For naming consistency, this patch also renames a lot of formatters-related classes.
      Plus, the changes in how flags are handled that started with summaries is now extended to other classes as well. A new enum (lldb::eTypeOption) is meant to support this on the public side.
      The patch also adds several new calls to the formatter infrastructure that are used to implement by-index accessing and several other design changes required to accommodate the new API layer.
      An architectural change is introduced in that backing objects for formatters now become writable. On the public API layer, CoW is implemented to prevent unwanted propagation of changes.
      Lastly, there are some modifications in how the "default" category is constructed and managed in relation to other categories.
      
      llvm-svn: 150558
      061858ce
    • Sean Callanan's avatar
      Previoously the expression parser had to rely on the · f673e769
      Sean Callanan authored
      JIT when printing the values of registers (e.g.,
      "expr $pc").  Now the expression parser can do this
      in the IR interpreter without running code in the
      inferior process.
      
      llvm-svn: 150554
      f673e769
  3. Feb 14, 2012
  4. Feb 13, 2012
  5. Feb 11, 2012
  6. Feb 10, 2012
    • Sean Callanan's avatar
      Extended function lookup to allow the user to · 9df05fbb
      Sean Callanan authored
      indicate whether inline functions are desired.
      This allows the expression parser, for instance,
      to filter out inlined functions when looking for
      functions it can call.
      
      llvm-svn: 150279
      9df05fbb
    • Sean Callanan's avatar
      Improved detection of object file types, moving · 49bce8ec
      Sean Callanan authored
      detection of kernels into the object file and
      adding a new category for raw binary images.
      Fixed all clients who previously searched for
      sections manually, making them use the object
      file's facilities instead.
      
      llvm-svn: 150272
      49bce8ec
    • Greg Clayton's avatar
      Fixed incorrect #include directives. · 1ada7bc0
      Greg Clayton authored
      llvm-svn: 150271
      1ada7bc0
    • Sean Callanan's avatar
      Fixed a bunch of ownership problems with the expression · 933693b6
      Sean Callanan authored
      parser.  Specifically:
      
      - ClangUserExpression now keeps weak pointers to the
        structures it needs and then locks them when needed.
        This ensures that they continue to be valid without
        leaking memory if the ClangUserExpression is long
        lived.
      
      - ClangExpressionDeclMap, instead of keeping a pointer
        to an ExecutionContext, now contains an
        ExecutionContext.  This prevents bugs if the pointer
        or its contents somehow become stale.  It also no
        longer requires that ExecutionContexts be passed
        into any function except its initialization function,
        since it can count on the ExecutionContext still
        being around.
      
      There's a lot of room for improvement (specifically,
      ClangExpressionDeclMap should also use weak pointers
      insetad of shared pointers) but this is an important
      first step that codifies assumptions that already
      existed in the code.
      
      llvm-svn: 150217
      933693b6
    • Enrico Granata's avatar
      fixing a macro name mismatch that was making our test case succeed for the... · 55031d28
      Enrico Granata authored
      fixing a macro name mismatch that was making our test case succeed for the wrong reason; plus a minor code change to the CPP side of the test which eases debugging efforts
      
      llvm-svn: 150213
      55031d28
  7. Feb 09, 2012
  8. Feb 08, 2012
    • Johnny Chen's avatar
      After discussions with Jim and Greg, modify the 'watchpoint set' command to... · 2ffa754a
      Johnny Chen authored
      After discussions with Jim and Greg, modify the 'watchpoint set' command to become a mutiword command
      with subcommand 'expression' and 'variable'.  The first subcommand is for supplying an expression to
      be evaluated into an address to watch for, while the second is for watching a variable.
      
      'watchpoint set expression' is a raw command, which means that you need to use the "--" option terminator
      to end the '-w' or '-x' option processing and to start typing your expression.
      
      Also update several test cases to comply and add a couple of test cases into TestCompletion.py,
      in particular, test that 'watchpoint set ex' completes to 'watchpoint set expression ' and that
      'watchpoint set var' completes to 'watchpoint set variable '.
      
      llvm-svn: 150109
      2ffa754a
    • Sean Callanan's avatar
      Added support to the expression parser for reading · 80ef1245
      Sean Callanan authored
      variables that are only available in symbols.
      
      llvm-svn: 150103
      80ef1245
Loading