Skip to content
  1. Apr 25, 2013
    • Andrew Trick's avatar
      Fix for r180193 - MI Sched: eliminate local vreg. · 2e875171
      Andrew Trick authored
      Fixes PR15838. Need to check for blocks with nothing but dbg.value.
      
      I'm not sure how to force this situation with a unit test. I tried to
      reduce the test case in PR15838 (1k lines of metadata) but gave up.
      
      llvm-svn: 180227
      2e875171
    • Chad Rosier's avatar
    • Andrew Kaylor's avatar
      Making invalidateInstructionCache automatic in SectionMemoryManager · f91b5acc
      Andrew Kaylor authored
      llvm-svn: 180225
      f91b5acc
    • Greg Clayton's avatar
      Added the ability to extract a ModuleSpecList (a new class) from an... · f4d6de6a
      Greg Clayton authored
      Added the ability to extract a ModuleSpecList (a new class) from an ObjectFile. This is designed to be used when you have an object file that contains one or more architectures (MacOSX universal (fat) files) and/or one or more objects (BSD archive (.a files)).
      
      There is a new static ObjectFile function you can call:
      
      size_t
      ObjectFile::GetModuleSpecifications (const FileSpec &file,
                                           lldb::offset_t file_offset,
                                           ModuleSpecList &specs)
      
      This will fill in "specs" which the details of all the module specs (file + arch + UUID (if there is one) + object name (for BSD archive objects eventually) + file offset to the object in question).
      
      This helps us when a user specifies a file that contains a single architecture, and also helps us when we are given a debug symbol file (like a dSYM file on MacOSX) that contains one or more architectures and we need to be able to match it up to an existing Module that has no debug info.
      
      llvm-svn: 180224
      f4d6de6a
    • Greg Clayton's avatar
      Remove a print statement that was left in accidentally. · 8d1d2522
      Greg Clayton authored
      llvm-svn: 180223
      8d1d2522
    • Michael Gottesman's avatar
      [objc-arc] Added ImpreciseAutoreleaseSet to track autorelease calls that were... · fdb497a9
      Michael Gottesman authored
      [objc-arc] Added ImpreciseAutoreleaseSet to track autorelease calls that were once autoreleaseRV instructions.
      
      Due to the semantics of ARC, we must be extremely conservative with autorelease
      calls inserted by the frontend since ARC gaurantees that said object will be in
      the autorelease pool after that point, an optimization invariant that the
      optimizer must respect.
      
      On the other hand, we are allowed significantly more flexibility with
      autoreleaseRV instructions.
      
      Often times though this flexibility is disrupted by early transformations which
      transform objc_autoreleaseRV => objc_autorelease if said instruction is no
      longer being used as part of an RV pair (generally due to inlining). Since we
      can not tell the difference in between an autorelease put into place by the
      frontend and one created through said ``strength reduction'' we can not perform
      these optimizations.
      
      The addition of this set gets around said issues by allowing us to differentiate
      in between said two cases.
      
      rdar://problem/13697741.
      
      llvm-svn: 180222
      fdb497a9
    • Michael Gottesman's avatar
      Fixed comment typo. · cd5b0270
      Michael Gottesman authored
      llvm-svn: 180221
      cd5b0270
  2. Apr 24, 2013
Loading