Skip to content
  1. Oct 02, 2013
    • Filip Pizlo's avatar
      This threads SectionName through the allocateCodeSection/allocateDataSection... · 7aa695e0
      Filip Pizlo authored
      This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land.  
      It's useful for the memory managers that are allocating a section to know what the name of the section is.  
      At a minimum, this is useful for low-level debugging - it's customary for JITs to be able to tell you what 
      memory they allocated, and as part of any such dump, they should be able to tell you some meta-data about 
      what each allocation is for.  This allows clients that supply their own memory managers to do this.  
      Additionally, we also envision the SectionName being useful for passing meta-data from within LLVM to an LLVM 
      client.
      
      This changes both the C and C++ APIs, and all of the clients of those APIs within LLVM.  I'm assuming that 
      it's safe to change the C++ API because that API is allowed to change.  I'm assuming that it's safe to change 
      the C API because we haven't shipped the API in a release yet (LLVM 3.3 doesn't include the MCJIT memory 
      management C API).
      
      llvm-svn: 191804
      7aa695e0
  2. Oct 01, 2013
  3. Sep 30, 2013
  4. Sep 27, 2013
  5. Sep 26, 2013
  6. Sep 25, 2013
  7. Sep 20, 2013
  8. Sep 19, 2013
  9. Sep 18, 2013
  10. Sep 15, 2013
  11. Sep 12, 2013
    • Joey Gouly's avatar
      [LTO] Fix the LTO tool, after my API breakage. · db6144e3
      Joey Gouly authored
      Thanks to Zonr Chang!
      
      llvm-svn: 190602
      db6144e3
    • Joey Gouly's avatar
      Add an instruction deprecation feature to TableGen. · 0e76fa7d
      Joey Gouly authored
      The 'Deprecated' class allows you to specify a SubtargetFeature that the
      instruction is deprecated on.
      
      The 'ComplexDeprecationPredicate' class allows you to define a custom
      predicate that is called to check for deprecation.
      For example:
        ComplexDeprecationPredicate<"MCR">
      
      would mean you would have to define the following function:
        bool getMCRDeprecationInfo(MCInst &MI, MCSubtargetInfo &STI,
                                   std::string &Info)
      
      Which returns 'false' for not deprecated, and 'true' for deprecated
      and store the warning message in 'Info'.
      
      The MCTargetAsmParser constructor was chaned to take an extra argument of
      the MCInstrInfo class, so out-of-tree targets will need to be changed.
      
      llvm-svn: 190598
      0e76fa7d
  12. Sep 09, 2013
    • Manman Ren's avatar
      Debug Info: Use DIScopeRef for DIType::getContext. · 116868ea
      Manman Ren authored
          
      In DIBuilder, the context field of a TAG_member is updated to use the
      scope reference. Verifier is updated accordingly.
          
      DebugInfoFinder now needs to generate a type identifier map to have
      access to the actual scope. Same applies for BreakpointPrinter.
          
      processModule of DebugInfoFinder is called during initialization phase
      of the verifier to make sure the type identifier map is constructed early
      enough.
          
      We are now able to unique a simple class as demonstrated by the added
      testing case.
      
      llvm-svn: 190334
      116868ea
    • Bob Wilson's avatar
      Revert patches to add case-range support for PR1255. · e407736a
      Bob Wilson authored
      The work on this project was left in an unfinished and inconsistent state.
      Hopefully someone will eventually get a chance to implement this feature, but
      in the meantime, it is better to put things back the way the were.  I have
      left support in the bitcode reader to handle the case-range bitcode format,
      so that we do not lose bitcode compatibility with the llvm 3.3 release.
      
      This reverts the following commits: 155464, 156374, 156377, 156613, 156704,
      156757, 156804 156808, 156985, 157046, 157112, 157183, 157315, 157384, 157575,
      157576, 157586, 157612, 157810, 157814, 157815, 157880, 157881, 157882, 157884,
      157887, 157901, 158979, 157987, 157989, 158986, 158997, 159076, 159101, 159100,
      159200, 159201, 159207, 159527, 159532, 159540, 159583, 159618, 159658, 159659,
      159660, 159661, 159703, 159704, 160076, 167356, 172025, 186736
      
      llvm-svn: 190328
      e407736a
    • Bill Wendling's avatar
      Generate compact unwind encoding from CFI directives. · 58e2d3d8
      Bill Wendling authored
      We used to generate the compact unwind encoding from the machine
      instructions. However, this had the problem that if the user used `-save-temps'
      or compiled their hand-written `.s' file (with CFI directives), we wouldn't
      generate the compact unwind encoding.
      
      Move the algorithm that generates the compact unwind encoding into the
      MCAsmBackend. This way we can generate the encoding whether the code is from a
      `.ll' or `.s' file.
      
      <rdar://problem/13623355>
      
      llvm-svn: 190290
      58e2d3d8
  13. Sep 06, 2013
  14. Sep 05, 2013
  15. Sep 04, 2013
  16. Sep 03, 2013
  17. Sep 02, 2013
    • Dmitri Gribenko's avatar
      Added std:: qualifier to find() invocation · 6e0520e9
      Dmitri Gribenko authored
      Iterator of std::vector may be implemented as a raw pointer. In
      this case ADL does not find the find() function in the std namespace.
      For example, this is the case with STDCXX implementation of vector.
      
      Patch by Konstantin Tokarev.
      
      llvm-svn: 189733
      6e0520e9
  18. Sep 01, 2013
  19. Aug 30, 2013
  20. Aug 29, 2013
  21. Aug 28, 2013
Loading