Skip to content
  • Sean Callanan's avatar
    I have brought LLDB up-to-date with top of tree · 5b26f27f
    Sean Callanan authored
    LLVM/Clang.  This brings in several fixes, including:
    
    - Improvements in the Just-In-Time compiler's
      allocation of memory: the JIT now allocates
      memory in chunks of sections, improving its
      ability to generate relocations.  I have
      revamped the RecordingMemoryManager to reflect
      these changes, as well as to get the memory
      allocation and data copying out fo the
      ClangExpressionParser code.  Jim Grosbach wrote
      the updates to the JIT on the LLVM side.
    
    - A new ExternalASTSource interface to allow LLDB to
      report accurate structure layout information to
      Clang.  Previously we could only report the sizes
      of fields, not their offsets.  This meant that if
      data structures included field alignment
      directives, we could not communicate the necessary
      alignment to Clang and accesses to the data would
      fail.  Now we can (and I have update the relevant
      test case).  Thanks to Doug Gregor for implementing
      the Clang side of this fix.
    
    - The way Objective-C interfaces are completed by
      Clang has been made consistent with RecordDecls;
      with help from Doug Gregor and Greg Clayton I have
      ensured that this still works.
    
    - I have eliminated all local LLVM and Clang patches,
      committing the ones that are still relevant to LLVM
      and Clang as needed.
    
    I have tested the changes extensively locally, but
    please let me know if they cause any trouble for you.
    
    llvm-svn: 149775
    5b26f27f
Loading