Skip to content
  1. Aug 27, 2013
    • Joey Gouly's avatar
      Add an assertion to the fixed-size allocator to ensure that we don't request · 0df16321
      Joey Gouly authored
      an allocation that is greater than what we will actually allocate.
      
      Patch by Artyom Skrobov!
      
      llvm-svn: 189340
      0df16321
    • Alexey Samsonov's avatar
      Add support for DebugFission to DWARF parser · e3ba81bf
      Alexey Samsonov authored
      Summary:
      1) Make llvm-symbolizer properly symbolize
      files with split debug info (by using stanalone .dwo files).
      2) Make DWARFCompileUnit parse and store corresponding .dwo file,
      if necessary.
      3) Make bits of DWARF parsing more CompileUnit-oriented.
      
      Reviewers: echristo
      
      Reviewed By: echristo
      
      CC: bkramer, llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1164
      
      llvm-svn: 189329
      e3ba81bf
    • Charles Davis's avatar
      Revert "Fix the build broken by r189315." and "Move everything depending on... · 1827bd8a
      Charles Davis authored
      Revert "Fix the build broken by r189315." and "Move everything depending on Object/MachOFormat.h over to Support/MachO.h."
      
      This reverts commits r189319 and r189315. r189315 broke some tests on what I
      believe are big-endian platforms.
      
      llvm-svn: 189321
      1827bd8a
    • Charles Davis's avatar
      0c6f71b4
    • Charles Davis's avatar
      Support/MachO: Add a bunch of defines. · 74ec8b09
      Charles Davis authored
      Right now we have two headers for the Mach-O format. I'd like to get rid
      of one. Since the other object formats are all in Support, I chose to
      keep the Mach-O header in Support, and discard the other one.
      
      llvm-svn: 189314
      74ec8b09
    • Shuxin Yang's avatar
      Add new API lto_codegen_compile_parallel(). · a44362e4
      Shuxin Yang authored
        This API is proposed by Nick Kledzik. The semantic is:
      
        --------------------------------------------------------------------------
         Generate code for merged module into an array of native object files. On 
         success returns a pointer to an array of NativeObjectFile.  The count 
         parameter returns the number of elements in the array.  Each element is 
         a pointer/length for a generated mach-o/ELF buffer.  The buffer is owned
         by the lto_code_gen_t and will be freed when lto_codegen_dispose() is called, 
         or lto_codegen_compile() is called again. On failure, returns NULL 
         (check lto_get_error_message() for details).
      
         extern const struct  NativeObjectFile*
         lto_codegen_compile_parallel(lto_code_gen_t cg, size_t *count);
        ---------------------------------------------------------------------------
      
        This API is currently only called on OSX platform. Linux or other Unixes
      using GNU gold are not supposed to call this function, because on these systems, 
      object files are fed back to linker via disk file instead of memory buffer.
      
        In this commit, lto_codegen_compile_parallel() simply calls
      lto_codegen_compile() to return a single object file. In the near future,
      this function is the entry point for compilation with partition. Linker can
      blindly call this function even if partition is turned off; in this case,
      compiler will return only one object file.
      
      llvm-svn: 189297
      a44362e4
    • Manman Ren's avatar
      Debug Info: add an identifier field to DICompositeType. · 0ed70aeb
      Manman Ren authored
      DICompositeType will have an identifier field at position 14. For now, the
      field is set to null in DIBuilder.
      For DICompositeTypes where the template argument field (the 13th field)
      was optional, modify DIBuilder to make sure the template argument field is set.
      Now DICompositeType has 15 fields.
      
      Update DIBuilder to use NULL instead of "i32 0" for null value of a MDNode.
      Update verifier to check that DICompositeType has 15 fields and the last
      field is null or a MDString.
      
      Update testing cases to include an extra field for DICompositeType.
      The identifier field will be used by type uniquing so a front end can
      genearte a DICompositeType with a unique identifer.
      
      llvm-svn: 189282
      0ed70aeb
  2. Aug 26, 2013
  3. Aug 25, 2013
  4. Aug 24, 2013
  5. Aug 23, 2013
  6. Aug 22, 2013
    • Chandler Carruth's avatar
      Add a new helper method to Value to strip in-bounds constant offsets of · 989e6308
      Chandler Carruth authored
      pointers, but accumulate the offset into an APInt in the process of
      stripping it.
      
      This is a pretty handy thing to have, such as when trying to determine
      if two pointers are at some constant relative offset. I'll be committing
      a patch shortly to use it for exactly that purpose.
      
      llvm-svn: 189000
      989e6308
    • Chandler Carruth's avatar
      Clean up the doxygen formatting of the comments on the strip* methods on · 6b795f12
      Chandler Carruth authored
      Value. These methods probably don't belong here, and I'm discussing
      moving the lot of them to a better home, but for now I'm about to extend
      their functionality and wanted to tidy them up first.
      
      llvm-svn: 188997
      6b795f12
    • Tim Northover's avatar
      ARM: use TableGen patterns to select CMOV operations. · 42180442
      Tim Northover authored
      Back in the mists of time (2008), it seems TableGen couldn't handle the
      patterns necessary to match ARM's CMOV node that we convert select operations
      to, so we wrote a lot of fairly hairy C++ to do it for us.
      
      TableGen can deal with it now: there were a few minor differences to CodeGen
      (see tests), but nothing obviously worse that I could see, so we should
      probably address anything that *does* come up in a localised manner.
      
      llvm-svn: 188995
      42180442
  7. Aug 21, 2013
Loading