Skip to content
  1. Apr 25, 2012
  2. Apr 24, 2012
    • Johnny Chen's avatar
      Add a '-R' option, which is similar to '-r', except that the relocated... · 8f198c96
      Johnny Chen authored
      Add a '-R' option, which is similar to '-r', except that the relocated directory, if exists, will be removed entirely
      before running the test suite.  A usage example looks like this:
      
      test $ ./dotest.py -A x86_64 -R /tmp/x86_64 &
      test $ ./dotest.py -A i386 -R /tmp/i386 &
      
      where we would want to run the x86_64 and i386 archs concurrently but relocate the test suite to different directory
      hierarchies in order not to stump on each other's intermediate files.
      
      llvm-svn: 155491
      8f198c96
    • Greg Clayton's avatar
      <rdar://problem/11291668> · a8022fa7
      Greg Clayton authored
      Fixed an issue that would happen when using debug map with DWARF in the .o files where we wouldn't ever track down the actual definition for a type when things were in namespaces. We now serialize the decl context information into an intermediate format which allows us to track down the correct definition for a type regardless of which DWARF symbol file it comes from. We do this by creating a "DWARFDeclContext" object that contains the DW_TAG + name for each item in a decl context which we can then use to veto potential accelerator table matches. For example, the accelerator tables store the basename of the type, so if you have "std::vector<int>", we would end up with an accelerator table entry for the type that contained "vector<int>", which we would then search for using a DWARFDeclContext object that contained:
      
        [0] DW_TAG_class_type "vector<int>"
        [1] DW_TAG_namespace "std"
      
      This is currently used to track down forward declarations for things like "class a::b::Foo;". 
      
      llvm-svn: 155488
      a8022fa7
    • Sean Callanan's avatar
      Fixed a crasher that occurs when an expression · 4538aa25
      Sean Callanan authored
      doesn't return a result.  If that expression can't
      be run in the current context (for example, if it
      uses a function and there is no running process)
      then we used to try to destroy the nonexistent
      result variable.  We now only destroy the result
      variable if we actually made one.
      
      llvm-svn: 155455
      4538aa25
    • Greg Clayton's avatar
      Added support for the LC_ENCRYPTION_INFO load command. · 1eac0c72
      Greg Clayton authored
      llvm-svn: 155423
      1eac0c72
    • Jim Ingham's avatar
      Report the command error when we are in "stop on error mode." · a5038816
      Jim Ingham authored
      llvm-svn: 155422
      a5038816
    • Jason Molenda's avatar
      A small fix for ObjectFileMachO::ParseSymtab() where a pointer · 0a287e03
      Jason Molenda authored
      into the middle of a vector was being used after the vector may
      have been resized.  
      <rdar://problem/11284937>
      
      llvm-svn: 155421
      0a287e03
    • Enrico Granata's avatar
      fe945e83
    • Enrico Granata's avatar
      Removing the @expectedFailurei386 decorator from test cases that now work as a... · f1dfbad0
      Enrico Granata authored
      Removing the @expectedFailurei386 decorator from test cases that now work as a result of the latest changes to Value.cpp
      
      llvm-svn: 155419
      f1dfbad0
    • Enrico Granata's avatar
      This patch fixes a bug where LLDB was incorrectly setting the address-size on... · b046e032
      Enrico Granata authored
      This patch fixes a bug where LLDB was incorrectly setting the address-size on a DataExtractor to be sizeof(void*) when the ValueObject came out of the expression parser
      This worked correctly for 64-bit targets, but broke down data formatters in i386 mode. The formatters would try to read pointers out of the frozen-dried objects,
      but were unable to do so because they would try fetching 8 bytes from a DataExtractor with only 4 bytes in it. This patch fixes the issue by always making the pointer-size
      for a DataExtractor match the target setting.
      
      llvm-svn: 155418
      b046e032
    • Jim Ingham's avatar
      Pass *this in explicitly to save the FileSpec copy construction. · 927f09ca
      Jim Ingham authored
      llvm-svn: 155407
      927f09ca
    • Greg Clayton's avatar
      Added the ability to log a message with a backtrace when verbose logging is... · d61c0fc0
      Greg Clayton authored
      Added the ability to log a message with a backtrace when verbose logging is enabled to the Module class. Used this new function in the DWARF parser.
      
      llvm-svn: 155404
      d61c0fc0
    • Greg Clayton's avatar
      <rdar://problem/11282938> · 2dafd8ed
      Greg Clayton authored
      Fixed an issue where we get NULL compile units back from the symbol vendor. We need symbol vendors to be able to quickly give an estimate of the compile units that they have without having to fully vette them first, so anyone getting compile units from a module should be able to deal with a NULL compile unit being returned for a given index.
      
      llvm-svn: 155398
      2dafd8ed
  3. Apr 23, 2012
  4. Apr 21, 2012
  5. Apr 20, 2012
    • Jim Ingham's avatar
      Make sure the "synchronous breakpoint callbacks" get called before the thread... · 6d66ce67
      Jim Ingham authored
      Make sure the "synchronous breakpoint callbacks" get called before the thread plan logic gets invoked, and if they
      ask to continue that should short-circuit the thread plans for that thread.  Also add a bit more explanation for
      how this machinery is supposed to work.  
      Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint
      conditions.
      
      llvm-svn: 155236
      6d66ce67
    • Greg Clayton's avatar
      Added logging so we can see when we are trying to complete a forward type and... · 9bbddbf8
      Greg Clayton authored
      Added logging so we can see when we are trying to complete a forward type and pull in the world. This is due to a compiler bug we are tracking (<rdar://problem/11291658>) where forward decls to classes and types are not properly scoped in namespaces, which results in the current LLDB looking for a type it will find many times in the accelerator tables, but never match. For example, when debugging with clang we get a forward decl like:
      
      class AnalysisResolver;
      
      And we will look for it everywhere and find many many matches, but the decl context of those matching DIEs is "clang::AnalysisResolver", so we never match anything, yet we pull in waaayyy too much DWARF in the process.
      
      To enable this logging enable the "lookups" category in the "dwarf" log channel:
      
      (lldb) log enable dwarf lookups
      
      llvm-svn: 155233
      9bbddbf8
Loading