Skip to content
  1. May 24, 2013
    • 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
  2. May 23, 2013
  3. 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
  4. 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
    • Enrico Granata's avatar
      <rdar://problem/13925432> · 31898918
      Enrico Granata authored
      A user request such as: memory read -fc -s10 -c1 *charPtrPtr would cause us to crash upon trying to read 1 char of size 10 from memory
      This request is now translated into: memory read -fc -s1 -c10 *charPtrPtr (i.e. read 10 chars of size 1 from memory) which is probably also what the user originally wanted
      
      llvm-svn: 182398
      31898918
    • Greg Clayton's avatar
      <rdar://problem/13892516> · 15fc2be7
      Greg Clayton authored
      LLDB can now debug across calls to exec when the architecture changes from say i386 to x86_64 (on darwin).
      
      llvm-svn: 182345
      15fc2be7
    • Enrico Granata's avatar
      s/to override/To override/ · b936b86d
      Enrico Granata authored
      Thanks to Greg Clayton for catching this
      
      llvm-svn: 182339
      b936b86d
    • Enrico Granata's avatar
      Improving the previous checkin about target.load-script-from-symbol-file · 9730339b
      Enrico Granata authored
      There are two settings:
      target.load-script-from-symbol-file is a boolean that says load or no load (default: false)
      target.warn-on-script-from-symbol-file is also a boolean, it says whether you want to be warned when a script file is not loaded due to security (default: true)
      
      the auto loading on change for target.load-script-from-symbol-file is preserved
      
      llvm-svn: 182336
      9730339b
    • Enrico Granata's avatar
      <rdar://problem/13925626> · 68ae91cf
      Enrico Granata authored
      Correctly handle the case of a ValueObjectVariable backed by a Vector
      
      llvm-svn: 182330
      68ae91cf
    • Enrico Granata's avatar
      <rdar://problem/13925626> · 0519e142
      Enrico Granata authored
      Replacing an assertion with an error - at least we won’t crash
      
      llvm-svn: 182326
      0519e142
    • Enrico Granata's avatar
      Forgot to check for empty error strings in the previous checkin · caa84cbc
      Enrico Granata authored
      llvm-svn: 182325
      caa84cbc
    • Enrico Granata's avatar
      <rdar://problem/13878726> · 84a53dfb
      Enrico Granata authored
      This changes the setting target.load-script-from-symbol-file to be a ternary enum value:
      default (the default value) will NOT load the script files but will issue a warning suggesting workarounds
      yes will load the script files
      no will not load the script files AND will NOT issue any warning
      
      if you change the setting value from default to yes, that will then cause the script files to be loaded
      (the assumption is you didn't know about the setting, got a warning, and quickly want to remedy it)
      
      if you have a settings set command for this in your lldbinit file, be sure to change "true" or "false" into an appropriate "yes" or "no" value
      
      llvm-svn: 182323
      84a53dfb
  5. May 20, 2013
  6. May 18, 2013
    • Sean Callanan's avatar
      Fixed a problem where the dynamic checkers (i.e., · e8cde68a
      Sean Callanan authored
      the Objective-C object checker and the pointer
      checker) were not always installed into expressions.
      
      <rdar://problem/13882566>
      
      llvm-svn: 182183
      e8cde68a
    • Greg Clayton's avatar
      <rdar://problem/11398407> · 6ecb232b
      Greg Clayton authored
      Name matching was working inconsistently across many places in LLDB. Anyone doing name lookups where you want to look for all types of names should used "eFunctionNameTypeAuto" as the sole name type mask. This will ensure that we get consistent "lookup function by name" results. We had many function calls using as mask like "eFunctionNameTypeBase | eFunctionNameTypeFull | eFunctionNameTypeMethod | eFunctionNameTypeSelector". This was due to the function lookup by name evolving over time, but as it stands today, use eFunctionNameTypeAuto when you want general name lookups. Either ModuleList::FindFunctions() or Module::FindFunctions() will figure out the right kinds of names to lookup and remove the "eFunctionNameTypeAuto" and replace it with the exact subset of what the name can be.
      
      This checkin also changes eFunctionNameTypeAny over to use eFunctionNameTypeAuto to reflect this.
      
      llvm-svn: 182179
      6ecb232b
    • Enrico Granata's avatar
      <rdar://problem/13928053> · 5a9c4fe2
      Enrico Granata authored
      Fix the fact that an empty NSString (e.g. one obtained from @"" would show no summary)
      
      llvm-svn: 182173
      5a9c4fe2
    • Matt Kopec's avatar
      The Linux process plugin wasn't returning the correct linux signals. This fixes that. · 841a5488
      Matt Kopec authored
      Thus, this patch also negates a previous fix for handling SIGCHLD.
      
      llvm-svn: 182166
      841a5488
  7. May 17, 2013
Loading