Skip to content
  1. Jan 16, 2013
    • Eric Christopher's avatar
      Split address information for DWARF5 split dwarf proposal. This involves · 962c9089
      Eric Christopher authored
      using the DW_FORM_GNU_addr_index and a separate .debug_addr section which
      stays in the executable and is fully linked.
      
      Sneak in two other small changes:
      
      a) Print out the debug_str_offsets.dwo section.
      b) Change form we're expecting the entries in the debug_str_offsets.dwo
         section to take from ULEB128 to U32.
      
      Add tests for all of this in the fission-cu.ll test.
      
      llvm-svn: 172578
      962c9089
    • David Greene's avatar
      Avoid Enum Compare Warnings · 99e6c115
      David Greene authored
      Avoid a compiler warning about comparing disjoint enums but casting
      them to int first.
      
      llvm-svn: 172577
      99e6c115
    • Nadav Rotem's avatar
    • Sean Callanan's avatar
      Fixes to the code I just committed to reflect · caa7df49
      Sean Callanan authored
      that we now also have to ignore breakpoints
      when running the expression to collect isas.
      
      llvm-svn: 172575
      caa7df49
    • Sean Callanan's avatar
      Modified the Objective-C runtime to fetch Objective-C · 5a9cd0c8
      Sean Callanan authored
      isas and corresponding names from the underlying process
      in a manner much quicker than the current approach.
      
      The current approach accesses memory in the underlying
      process with a random-access pattern as it walks across
      the data structures associated with each isa.  This
      involves a great deal of back-and-forth with debugserver,
      resulting in performance problems, especially with iOS
      targets.
      
      The new approach attempts to run an expression in the
      target that collects the isas and names into two large
      buffers, which LLDB then collects in one shot.
      
      <rdar://problem/12914539>
      
      llvm-svn: 172574
      5a9cd0c8
    • Sean Callanan's avatar
      ClangExpressionVariable previously was not capable of · 3c495c18
      Sean Callanan authored
      handling multiple clients.  However, occasionally an
      expression must be run in the service of another
      expression, and in this case two parsers need to access
      the same list of persistent variables.
      
      To allow this, persistent variables now provide state
      for multiple parsers, and parsers must allocate, access,
      and deallocate this state by providing their own ID
      (at the moment, simply the value of the "this" pointer).
      
      <rdar://problem/12914539>
      
      llvm-svn: 172573
      3c495c18
    • Eli Bendersky's avatar
      Optimize the memory usage of MC bundling, by creating a new type of fragment · cf6009b9
      Eli Bendersky authored
      into which we can emit single instructions without fixups (which is most
      instructions). This is an optimization required because MCDataFragment
      is prety large (240 bytes on x64), with no change in functionality.
      
      For large programs, this reduces memory usage overhead required for bundling
      by 40%.
      
      To make the code as palatable as possible, the MCEncodedFragment interface was
      further fragmented (no pun intended) and MCEncodedFragmentWithFixups is used
      as the interface to work against when the user expects fixups. MCDataFragment
      and MCRelaxableFragment implement this interface, while the new
      MCCompactEncodedInstFragment implements MCEncodeFragment.
      
      llvm-svn: 172572
      cf6009b9
    • David Greene's avatar
      Fix signed/unsigned Compare · 464d2195
      David Greene authored
      Do some casting to avoid a signed/unsigned compare.
      
      llvm-svn: 172571
      464d2195
    • David Greene's avatar
      Avoid unsigned Compare to int · c5ff6242
      David Greene authored
      Cast arithmetic results to avoid comparison of an unsigned to an int.
      
      llvm-svn: 172570
      c5ff6242
    • Chad Rosier's avatar
      [ms-inline asm] Address the FIXME in AsmParser.cpp. · 7245033a
      Chad Rosier authored
      // FIXME: Constraints are hard coded to 'm', but we need an 'r'
      // constraint for addressof.  This needs to be cleaned up!
      
      Test cases are already in place.  Specifically,
      clang/test/CodeGen/ms-inline-asm.c t15(), t16(), and t24().
      
      llvm-svn: 172569
      7245033a
  2. Jan 15, 2013
Loading