Skip to content
  1. Oct 17, 2012
  2. Oct 16, 2012
  3. Oct 11, 2012
    • Greg Clayton's avatar
      Fixed an indentation issue that only shows up when dumping .o files that use... · fc6d50e1
      Greg Clayton authored
      Fixed an indentation issue that only shows up when dumping .o files that use linked addresses (DWARF in .o files with debug map).
      
      llvm-svn: 165740
      fc6d50e1
    • Greg Clayton's avatar
      <rdar://problem/12331741> · f0246d15
      Greg Clayton authored
      Dynamic type code must be efficient and fast. Now it is.
      
      Added ObjC v1 support for getting the complete list of ISA values.
      
      The main flow of the AppleObjCRuntime subclasses is now they must override "virtual bool UpdateISAToDescriptorMap_Impl();". This function will update the complete list of ISA values and create ClassDescriptorSP objects for each one. Now we have the complete list of valid ISA values which we can use for verification when doing dynamic typing.
      
      Refactored a bunch of stuff so that the AppleObjCRuntime subclasses don't have to implement as many functions as they used to.
      
      llvm-svn: 165730
      f0246d15
  4. Oct 10, 2012
  5. Oct 09, 2012
  6. Oct 05, 2012
    • Jason Molenda's avatar
      Ran the sources through the compiler with -Wshadow warnings · ccd41e55
      Jason Molenda authored
      enabled after we'd found a few bugs that were caused by shadowed
      local variables; the most important issue this turned up was
      a common mistake of trying to obtain a mutex lock for the scope
      of a code block by doing
      
              Mutex::Locker(m_map_mutex);
      
      This doesn't assign the lock object to a local variable; it is
      a temporary that has its dtor called immediately.  Instead,
      
              Mutex::Locker locker(m_map_mutex);
      
      does what is intended.  For some reason -Wshadow happened to
      highlight these as shadowed variables.
      
      I also fixed a few obivous and easy shadowed variable issues
      across the code base but there are a couple dozen more that
      should be fixed when someone has a free minute.
      <rdar://problem/12437585>
      
      llvm-svn: 165269
      ccd41e55
  7. Oct 04, 2012
  8. Oct 03, 2012
  9. Oct 02, 2012
    • Greg Clayton's avatar
      <rdar://problem/11791234> · 548e9a3e
      Greg Clayton authored
      Shared libraries on MacOSX were not properly being removed from the shared
      module list when re-running a debug session due to an error in:
      
      Module::MatchesModuleSpec()
      
      llvm-svn: 164991
      548e9a3e
  10. Oct 01, 2012
  11. Sep 29, 2012
    • Enrico Granata's avatar
    • Enrico Granata's avatar
      <rdar://problem/12378910> Fixing a potential crasher in the data formatters... · 60b81dff
      Enrico Granata authored
      <rdar://problem/12378910> Fixing a potential crasher in the data formatters where we fail to check for NULL or empty class name
      
      llvm-svn: 164870
      60b81dff
    • Enrico Granata's avatar
      Implementing plugins that provide commands. · 21dfcd9d
      Enrico Granata authored
      This checkin adds the capability for LLDB to load plugins from external dylibs that can provide new commands
      It exports an SBCommand class from the public API layer, and a new SBCommandPluginInterface
      
      There is a minimal load-only plugin manager built into the debugger, which can be accessed via Debugger::LoadPlugin.
      
      Plugins are loaded from two locations at debugger startup (LLDB.framework/Resources/PlugIns and ~/Library/Application Support/LLDB/PlugIns) and more can be (re)loaded via the "plugin load" command
      
      For an example of how to make a plugin, refer to the fooplugin.cpp file in examples/plugins/commands
      
      Caveats:
      	Currently, the new API objects and features are not exposed via Python.
      	The new commands can only be "parsed" (i.e. not raw) and get their command line via a char** parameter (we do not expose our internal Args object)
      	There is no unloading feature, which can potentially lead to leaks if you overwrite the commands by reloading the same or different plugins
      	There is no API exposed for option parsing, which means you may need to use getopt or roll-your-own
      
      llvm-svn: 164865
      21dfcd9d
  12. Sep 28, 2012
  13. Sep 27, 2012
  14. Sep 20, 2012
  15. Sep 19, 2012
  16. Sep 18, 2012
  17. Sep 15, 2012
  18. Sep 14, 2012
  19. Sep 13, 2012
  20. Sep 11, 2012
  21. Sep 06, 2012
  22. Sep 05, 2012
  23. Sep 04, 2012
Loading