1. Feb 15, 2014
    • Tom Stellard's avatar
      Add generic nvptx targets · d873c8e0
      Tom Stellard authored
      These do not import the code specific to nvidiacl
      
      Patch by: Jeroen Ketema
      
      llvm-svn: 201431
      d873c8e0
    • Eli Bendersky's avatar
      Remove unused #include · b0a7cb2e
      Eli Bendersky authored
      llvm-svn: 201430
      b0a7cb2e
    • David Blaikie's avatar
      DebugInfo: Don't include the name of the CU file in the line table file list when it's unneeded · 9acebfdd
      David Blaikie authored
      Recommitting r201380 (reverted in r201389)
      Recommitting r201351 and r201355 (reverted in r201351 and r201355)
      
      We weren't emitting the an empty (header only) line table when the line
      table was empty - this made the DWARF invalid (the compile unit would
      point to the zero-size debug_lines section where there should've been an
      empty line table but there was nothing at all). Fix that, and as a
      consequence this works around/addresses PR18809.
      
      Also, we emit a non-empty line table to workaround a darwin linker bug,
      so XFAILing on darwin too.
      
      Also, mark the test as 'REQUIRES: object-emission' because it does.
      
      llvm-svn: 201429
      9acebfdd
    • Fariborz Jahanian's avatar
      [IRGen]. Fixes a crash in using Objective-C array · 7741101d
      Fariborz Jahanian authored
      properties by fixing shouldBindAsLValue to accept arrays
      (like record types) because we always manipulate
      them in memory. Patch suggested by John MaCall.
      // rdar://15610943
      
      llvm-svn: 201428
      7741101d
    • Diego Novillo's avatar
      Support DWARF discriminators in object streamer. · 5b5cf503
      Diego Novillo authored
      Summary:
      This adds support for emitting DWARF path discriminator values in
      the object streamer. It also changes the DWARF dumper to show
      discriminator values in the line table output.
      
      Reviewers: echristo
      
      CC: llvm-commits
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2794
      
      llvm-svn: 201427
      5b5cf503
    • Reed Kotler's avatar
      This patch has two main functions: · 4cdaa7d7
      Reed Kotler authored
      1) Fix a specific bug when certain conversion functions are called in a program compiled as mips16 with hard float and
      the program is linked as c++. There are two libraries that are reversed in the link order with gcc/g++ and clang/clang++ for
      mips16 in this case and the proper stubs will then not be called. These stubs are normally handled in the Mips16HardFloat pass
      but in this case we don't know at that time that we need to generate the stubs. This must all be handled later in code generation
      and we have moved this functionality to MipsAsmPrinter. When linked as C (gcc or clang) the proper stubs are linked in from libc.
      
      2) Set up the infrastructure to handle 90% of what is in the Mips16HardFloat pass in this new area of MipsAsmPrinter. This is a more
      logical place to handle this and we have known for some time that we needed to move the code later and not implement it using
      inline asm as we do now but it was not clear exactly where to do this and what mechanism should be used. Now it's clear to us
      how to do this and this patch contains the infrastructure to move most of this to MipsAsmPrinter but the actual moving will be done
      in a follow on patch. The same infrastructure is used to fix this current bug as described in #1. This change was requested by the list
      during the original putback of the Mips16HardFloat pass but was not practical for us do at that time.
      
      llvm-svn: 201426
      4cdaa7d7
    • Rafael Espindola's avatar
      Trivial cleanup: reuse existing variable. · 8eee97dd
      Rafael Espindola authored
      Extracted while trying to understand http://llvm-reviews.chandlerc.com/D1764.
      
      Patch by Matt Arsenault.
      
      llvm-svn: 201425
      8eee97dd
    • Daniel Jasper's avatar
      clang-format: Fix formatting of class template declaration. · 3a122c02
      Daniel Jasper authored
      Before:
        template <class R, class C>
        struct Aaaaaaaaaaaaaaaaa<R (C::*)(int)
                                 const> : Aaaaaaaaaaaaaaaaa<R (C::*)(int)> {};
      
      After:
        template <class R, class C>
        struct Aaaaaaaaaaaaaaaaa<R (C::*)(int) const>
            : Aaaaaaaaaaaaaaaaa<R (C::*)(int)> {};
      
      llvm-svn: 201424
      3a122c02
    • Artyom Skrobov's avatar
      Generate the DWARF stack frame decode operations in the function prologue for ARM/Thumb functions. · f6830f47
      Artyom Skrobov authored
      Patch by Keith Walker!
      
      llvm-svn: 201423
      f6830f47
    • Ed Maste's avatar
      Adjust logging test case after r201372 · 96d7f449
      Ed Maste authored
      The final "HandleCommand, command succeeded" for "log disable lldb"
      doesn't make it to the log file before the command takes effect.
      
      llvm-svn: 201422
      96d7f449
  2. Feb 14, 2014