Skip to content
  1. Jun 03, 2013
  2. Jun 01, 2013
  3. May 31, 2013
    • Daniel Malea's avatar
      Use C-style include to match style in file (instead of C++ style) · c91e4ab2
      Daniel Malea authored
      - as per review comment from Dimitry Andric!
      
      llvm-svn: 183039
      c91e4ab2
    • Daniel Malea's avatar
      CMake FreeBSD fix: add missing Process plugin directory · 132c4a26
      Daniel Malea authored
      Patch by Ed Maste!
      
      llvm-svn: 183038
      132c4a26
    • Han Ming Ong's avatar
      <rdar://problem/13752848> · 79371cee
      Han Ming Ong authored
      Add 'JoinExistingSession' to XPC for root debugging.
      
      llvm-svn: 183037
      79371cee
    • Daniel Malea's avatar
      FreeBSD cmake build fixes. · e376a651
      Daniel Malea authored
      - missing #include <cstdlib> in Mangled.cpp
      - missing include dirs in FreeBSD CMakeLists.txt
      
      Patch by Ed Maste!
      
      llvm-svn: 183032
      e376a651
    • Enrico Granata's avatar
      <rdar://problem/14035604> · b294fd20
      Enrico Granata authored
      Fixing an issue where formats would not propagate from parents to children in all cases
      Details follow:
      an SBValue has children and those are fetched along with their values
      Now, one calls SBValue::SetFormat() on the parent
      Technically, the format choices should propagate onto the children (see ValueObject::GetFormat())
      But if the children values are already fetched, they won't notice the format change and won't update themselves
      This commit fixes that by making ValueObject::GetValueAsCString() check if any format change intervened from the previous call to the current one
      A test case is also added
      
      llvm-svn: 183030
      b294fd20
    • Enrico Granata's avatar
      Small code cleanups · 39d51410
      Enrico Granata authored
      llvm-svn: 183024
      39d51410
    • Sean Callanan's avatar
      Fixed value evaluation to handle null constants. · 7d01ddd6
      Sean Callanan authored
      <rdar://problem/14005311>
      
      llvm-svn: 183022
      7d01ddd6
    • Enrico Granata's avatar
      An NSData with 0 bytes in it would report a summary of “0 byte” · 1c333d07
      Enrico Granata authored
      Making sure that I get my English right by saying “0 bytes” instead
      
      llvm-svn: 182978
      1c333d07
    • Enrico Granata's avatar
      <rdar://problem/11109316> · e0c70f1b
      Enrico Granata authored
      command script import now does reloads - for real
      If you invoke command script import foo and it detects that foo has already been imported, it will
       - invoke reload(foo) to reload the module in Python
       - re-invoke foo.__lldb_init_module
       This second step is necessary to ensure that LLDB does not keep cached copies of any formatter, command, ... that the module is providing
      
      Usual caveats with Python imports persist. Among these:
       - if you have objects lurking around, reloading the module won't magically update them to reflect changes
       - if module A imports module B, reloading A won't reload B
      These are Python-specific issues independent of LLDB that would require more extensive design work
      
      The --allow-reload (-r) option is maintained for compatibility with existing scripts, but is clearly documented as redundant - reloading is always enabled whether you use it or not
      
      llvm-svn: 182977
      e0c70f1b
  4. May 30, 2013
    • Greg Clayton's avatar
      <rdar://problem/13956179> · 83793fc1
      Greg Clayton authored
      Cleaned up the thread updating code in the OperatingSystemPython class. It doesn't need to clear the "new_thread_list" anymore as it is always empty. 
      
      It also now assigns the "core_thread_list" to "new_thread_list" if no threads are detected through python.
      
      llvm-svn: 182893
      83793fc1
    • Greg Clayton's avatar
      Remove unused variable. · 086e085e
      Greg Clayton authored
      llvm-svn: 182892
      086e085e
  5. May 29, 2013
  6. May 28, 2013
    • Enrico Granata's avatar
      <rdar://problem/13863031> · 2db281e9
      Enrico Granata authored
      Giving a timeout for the call to NSPrintForDebugger() that happens when you “po” objects
      
      This is a temporary workaround until a more detailed solution to the general problem of canceling actions is found
      
      llvm-svn: 182782
      2db281e9
    • Daniel Malea's avatar
      Mac OS X CMake fix: generate LLDB version from xcodeproj · d77e9d45
      Daniel Malea authored
      - This resolves the remaining issues related to building lldb utility/dylib
      - TODO: fix up debugserver build
      
      Patch by Ahmed Bougacha!
      
      llvm-svn: 182751
      d77e9d45
  7. May 25, 2013
  8. May 24, 2013
    • Sean Callanan's avatar
      Fixed signed operations in the IR interpreter. · 0b342b6d
      Sean Callanan authored
      Scalar now can make itself signed if needed.
      
      <rdar://problem/13977632>
      
      llvm-svn: 182668
      0b342b6d
    • Ashok Thirumurthi's avatar
      Added a parameter for relocation info to keep lldb in step with llvm due to r182625, · 78059358
      Ashok Thirumurthi authored
      which takes a first step towards symbolization of disassembled instructions.
      
      llvm-svn: 182650
      78059358
    • Greg Clayton's avatar
      <rdar://problem/13643315> · 7bcb93d5
      Greg Clayton authored
      Fixed performance issues that arose after changing SBTarget, SBProcess, SBThread and SBFrame over to using a std::shared_ptr to a ExecutionContextRef. The ExecutionContextRef doesn't store a std::weak_ptr to a stack frame because stack frames often get replaced with new version, so it held onto a StackID object that would allow us to ask the thread each time for the frame for the StackID. The linear function was too slow for large recursive stacks. We also fixed an issue where anytime the std::shared_ptr<ExecutionContextRef> in any SBTarget, SBProcess, SBThread objects was turned into an ExecutionContext object, it would try to resolve all items in the ExecutionContext which are shared pointers. Even if the StackID in the ExecutionContextRef was invalid, it was looking through all frames in every thread. This causes a lot of unnecessary frame accesses.
      
      llvm-svn: 182627
      7bcb93d5
    • Filipe Cabecinhas's avatar
      Adds PT_TLS and PT_GNU_EH_FRAME names to DumpELFProgramHeaders · 477d86d8
      Filipe Cabecinhas authored
      llvm-svn: 182619
      477d86d8
  9. May 23, 2013
  10. May 22, 2013
    • Greg Clayton's avatar
      <rdar://problem/13956179> · a1b5dd9a
      Greg Clayton authored
      Fixed ProcessMachCore to be able to locate the main executeable in the core file even if it doesn't start at a core file address range boundary. Prior to this we only checked the first bytes of each range in the core file for mach_kernel or dyld. Now we still do this, but if we don't find the mach_kernel or dyld anywhere, we go through all core file ranges and check every 0x1000 to see if we can find dyld or the mach_kernel.
      
      Now that we can properly detect the mach_kernel at any address, we don't need to call "DynamicLoaderDarwinKernel::SearchForDarwinKernel(Process*)" anymore.
      
      llvm-svn: 182513
      a1b5dd9a
    • Greg Clayton's avatar
      <rdar://problem/13880690> · 217b28ba
      Greg Clayton authored
      Lock the lldb_private::Module mutex while tearing down the module to make sure we don't get clients accessing the contents on a module as it is going away.
      
      llvm-svn: 182511
      217b28ba
    • Greg Clayton's avatar
      <rdar://problem/13455021> · 8caea6db
      Greg Clayton authored
      Another fix to make sure that if we aren't able to extract an object file for any reason, we don't crash when trying to parse the debug map info.
      
      llvm-svn: 182441
      8caea6db
    • Greg Clayton's avatar
      <rdar://problem/13455021> · 80e6c043
      Greg Clayton authored
      lldb crashes with universal file containing skinny BSD archives when doing DWARF with .o file debugging.
      
      llvm-svn: 182437
      80e6c043
    • Enrico Granata's avatar
      Adding a newline for better overall readability · 4e284caa
      Enrico Granata authored
      llvm-svn: 182434
      4e284caa
  11. May 21, 2013
    • Greg Clayton's avatar
      Added a test case that verifies that LLDB can debug across a process exec'ing... · 8cda7f08
      Greg Clayton authored
      Added a test case that verifies that LLDB can debug across a process exec'ing itself into a new program. This currently is only enabled for Darwin since we exec from 64 bit to 32 bit and vice versa for 'x86_64' targets.
      
      This can easily be adapted for linux and other platforms, but I didn't want to break any buildbots by assuming it will work.
      
      llvm-svn: 182428
      8cda7f08
    • Enrico Granata's avatar
      <rdar://problem/13878726> · 397ddd5f
      Enrico Granata authored
      Yet another implementation of the python in dSYM autoload :)
      This time we are going with a ternary setting:
      true - load, do not warn
      false - do not load, do not warn
      warn - do not load, warn (default)
      
      llvm-svn: 182414
      397ddd5f
Loading