Skip to content
  1. Jun 24, 2013
  2. Jun 22, 2013
  3. Jun 21, 2013
    • Han Ming Ong's avatar
      <rdar://problem/13980489> · 399289e9
      Han Ming Ong authored
      I added scan type to ‘qGetProfileData’ previously but forgot to update the check to be a substring search.
      
      llvm-svn: 184588
      399289e9
    • Enrico Granata's avatar
      Adding two new markers to the ${var..} specifier · 2c75f11e
      Enrico Granata authored
      - %N = show the name of the variable
      - %> = show the expression path of the variable
      
      llvm-svn: 184502
      2c75f11e
    • Enrico Granata's avatar
      In thread and frame format strings, it is now allowed to use Python functions... · aad8e480
      Enrico Granata authored
      In thread and frame format strings, it is now allowed to use Python functions to generate part or all of the output text
      Specifically, the ${target ${process ${thread and ${frame specifiers have been extended to allow a subkeyword .script:<fctName> (e.g. ${frame.script:FooFunction})
      The functions are prototyped as
      
      def FooFunction(Object,unused)
      
      where object is of the respective SB-type (SBTarget for target.script, ... and so on)
      
      This has not been implemented for ${var because it would be akin to a Python summary which is already well-defined in LLDB
      
      llvm-svn: 184500
      aad8e480
  4. Jun 20, 2013
  5. Jun 19, 2013
    • Greg Clayton's avatar
      Implemented a types.py module that allows types to be inspected for padding. · d8c3d4b1
      Greg Clayton authored
      The script was able to point out and save 40 bytes in each lldb_private::Section by being very careful where we need to have virtual destructors and also by re-ordering members.
      
      llvm-svn: 184364
      d8c3d4b1
    • Andy Gibbs's avatar
      Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion · 897f50c5
      Andy Gibbs authored
      llvm-svn: 184342
      897f50c5
    • Enrico Granata's avatar
      <rdar://problem/14005652> · c71f349a
      Enrico Granata authored
      Fixing a bug with the NSString data formatter where some strings would be truncated
      
      llvm-svn: 184336
      c71f349a
    • Andy Gibbs's avatar
    • Andy Gibbs's avatar
    • Enrico Granata's avatar
      Improvements to "command script import" to better support reloading in Xcode · 5c479693
      Enrico Granata authored
      Xcode spawns a new LLDB SBDebugger for each debug session, and this was causing the reloading of python modules to fail across debug sessions
      
      (long story short: the module would not be loaded in the current instance of the ScriptInterpreter, but would still be present in sys.modules, hence the import call would just make a copy of it and not run it again
      Greg's new decorator uncovered the issue since it relies on actually loading the module's code rather than using __lldb_init_module as the active entity)
      
      This patch introduces the notion of a local vs. global import and crafts an appropriate command to allow reloading to work across debug sessions
      
      llvm-svn: 184279
      5c479693
    • Jim Ingham's avatar
      Don't actually Halt in the Interrupt handler for the Process, just send an AsyncInterrupt. · fc65a50f
      Jim Ingham authored
      That's actually not async-signal-clean, but it is a lot safer than Halt...
      
      llvm-svn: 184270
      fc65a50f
    • Enrico Granata's avatar
      <rdar://problem/14194140> · 08a1bb81
      Enrico Granata authored
      Adding support for correctly extracting children out of vector types for data formatter purposes
      
      llvm-svn: 184262
      08a1bb81
    • Greg Clayton's avatar
      Added the ability to get a list of types from a SBModule or SBCompileUnit.... · f02500c7
      Greg Clayton authored
      Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are:
      
      //------------------------------------------------------------------
      /// Get all types matching \a type_mask from debug info in this
      /// module.
      ///
      /// @param[in] type_mask
      ///     A bitfield that consists of one or more bits logically OR'ed
      ///     together from the lldb::TypeClass enumeration. This allows
      ///     you to request only structure types, or only class, struct
      ///     and union types. Passing in lldb::eTypeClassAny will return
      ///     all types found in the debug information for this module.
      ///
      /// @return
      ///     A list of types in this module that match \a type_mask
      //------------------------------------------------------------------
      lldb::SBTypeList
      SBModule::GetTypes (uint32_t type_mask)
      
      
      //------------------------------------------------------------------
      /// Get all types matching \a type_mask from debug info in this
      /// compile unit.
      ///
      /// @param[in] type_mask
      ///    A bitfield that consists of one or more bits logically OR'ed
      ///    together from the lldb::TypeClass enumeration. This allows
      ///    you to request only structure types, or only class, struct
      ///    and union types. Passing in lldb::eTypeClassAny will return
      ///    all types found in the debug information for this compile
      ///    unit.
      ///
      /// @return
      ///    A list of types in this compile unit that match \a type_mask
      //------------------------------------------------------------------
      lldb::SBTypeList
      SBCompileUnit::GetTypes (uint32_t type_mask = lldb::eTypeClassAny);
      
      This lets you request types by filling out a mask that contains one or more bits from the lldb::TypeClass enumerations, so you can only get the types you really want.
      
      llvm-svn: 184251
      f02500c7
    • Enrico Granata's avatar
      <rdar://problem/14194128> · a2e7f9ab
      Enrico Granata authored
      ClangASTContext was failing to retrieve fields and base class info for ObjC variables
      This checkin fixes that and adds a test case
      
      llvm-svn: 184248
      a2e7f9ab
  6. Jun 18, 2013
Loading