Skip to content
  1. Apr 06, 2014
    • Elena Demikhovsky's avatar
      Changes in IntelJITEventListener - By Arch Robinson · d8efd89b
      Elena Demikhovsky authored
         - take->release: LLVM has moved to C++11.  MockWrapper became an instance of unique_ptr.
      
         - method symbol_iterator::increment disappeared recently, in this revision:
      
           r200442 | rafael | 2014-01-29 20:49:50 -0600 (Wed, 29 Jan 2014) | 9 lines
      
      Simplify the handling of iterators in ObjectFile.
      
      None of the object file formats reported error on iterator increment. In
      retrospect, that is not too surprising: no object format stores symbols or
      sections in a linked list or other structure that requires chasing pointers.
      As a consequence, all error checking can be done on begin() and end().
      
      This reduces the text segment of bin/llvm-readobj in my machine from 521233 to
      518526 bytes.
      
      My change mimics the change that the revision made to lib/DebugInfo/DWARFContext.cpp .
      
          - const_cast: Shut up a warning from gcc.
      
      I ran unittests/ExecutionEngine/JIT/Debug+Asserts/JITTests to make sure it worked.
      
      - Arch
      
      llvm-svn: 205689
      d8efd89b
    • NAKAMURA Takumi's avatar
      Quick fix: Triple::isOSMSVCRT() should be false for targeting cygwin. · 39485e2d
      NAKAMURA Takumi authored
      It affected callee's stack pop in x86. It is one of devergences between cygwin and mingw since mingw-gcc-4.6.
      
      Added testcases to llvm/test/CodeGen/X86/win32_sret.ll for cygwin.
      
      llvm-svn: 205688
      39485e2d
    • Simon Atanasyan's avatar
      [yaml2obj][ELF] Rename class SectionNameToIdxMap => NameToIdxMap. It can · 35babf9c
      Simon Atanasyan authored
      be used for indexing not only section's names.
      
      No functional changes.
      
      llvm-svn: 205687
      35babf9c
    • David Blaikie's avatar
      DebugInfo: Support namespace aliases as DW_TAG_imported_declaration instead of... · 2a40c14d
      David Blaikie authored
      DebugInfo: Support namespace aliases as DW_TAG_imported_declaration instead of DW_TAG_imported_module
      
      I really should read the spec more often (and test GCC more often too).
      I just assumed that namespace aliases would be the same as using
      directives, except with a name. But apparently that's not how the DWARF
      standards suggests they be implemented. DWARF4 provides an example and
      other non-normative text suggesting that namespace aliases be
      implemented by named imported declarations intsead of named imported
      modules.
      
      So be it.
      
      llvm-svn: 205685
      2a40c14d
    • Argyrios Kyrtzidis's avatar
    • David Blaikie's avatar
      Remove unused parameter · b38ac1f7
      David Blaikie authored
      Also update a few null pointers in this function to be consistent with
      new null pointers being added.
      
      Patch by Robert Matusewicz!
      
      Differential Revision: http://reviews.llvm.org/D3123
      
      llvm-svn: 205682
      b38ac1f7
    • Saleem Abdulrasool's avatar
      AsmParser: add a warning for compatibility parsing · efa31a98
      Saleem Abdulrasool authored
      This adds a warning when linker_private or linker_private_weak is provided and
      we handle it in a compatible manner.
      
      Suggested by Chris Lattner!
      
      llvm-svn: 205681
      efa31a98
    • David Blaikie's avatar
      MachineInstr: introduce explicit_operands and implicit_operands ranges · 2f771124
      David Blaikie authored
      Makes iteration over implicit and explicit machine operands more
      explicit (har har). Insipired by code review discussion for r205565.
      
      llvm-svn: 205680
      2f771124
    • David Blaikie's avatar
      Remove unnecessary "inline" of inline defined member functions · 1c42eaeb
      David Blaikie authored
      Member functions defined within a class definition are implicitly
      'inline' for linkage purposes. Compilers might slightly favor inlining
      functions explicitly marked 'inline', but LLVM doesn't make a stylistic
      habit of doing this generally.
      
      llvm-svn: 205679
      1c42eaeb
    • Saleem Abdulrasool's avatar
      ARM: consolidate MachO checks for ARM asm parser · dd979e64
      Saleem Abdulrasool authored
      This consolidates the duplicated MachO checks in the directive parsing for
      various directives that are unsupported for Mach-O.  The error message change is
      unimportant as this restores the behaviour to that prior to the addition of the
      new directive handling.  Furthermore, use a more direct check for MachO
      targeting rather than an indirect feature check of the assembler.
      
      Also simplify the test execution command to avoid temporary files.  Further more,
      perform the check in both object and assembly emission.
      
      Whether all non-applicable directives are handled is another question.  .fnstart
      is marked as being unsupported, however, the complementary .fnend is not.  The
      additional unwinding directives are also still honoured.  This change does not
      change that, though, it would be good to validate and mark them as being
      unsupported if they are unsupported for the MachO emission.
      
      llvm-svn: 205678
      dd979e64
  2. Apr 05, 2014
  3. Apr 04, 2014
Loading