Skip to content
  1. Jul 03, 2013
  2. Jul 02, 2013
    • Eric Christopher's avatar
      Fix comment. · 9046f942
      Eric Christopher authored
      llvm-svn: 185480
      9046f942
    • Michael Gottesman's avatar
    • Ulrich Weigand's avatar
      · 42a09dc1
      Ulrich Weigand authored
      [PowerPC] PR16512 - Support TLS call sequences in the asm parser
      
      This patch now adds support for recognizing TLS call sequences in
      the asm parser.  This needs a new pattern BL8_TLS, which is like
      BL8_NOP_TLS except without nop.  That pattern is used for the
      asm parser only.
      
      llvm-svn: 185478
      42a09dc1
    • Ulrich Weigand's avatar
      · 5143bab2
      Ulrich Weigand authored
      [PowerPC] Rework TLS call operand processing
      
      As part of the global-dynamic and local-dynamic TLS sequences, we need
      to use a special form of the call instruction:
      
       bl __tls_get_addr(sym@tlsld)
       bl __tls_get_addr(sym@tlsgd)
      
      which generates two fixups.  The current implementation of this causes
      problems with recognizing this form in the asm parser.  To fix this,
      this patch reworks operand processing for this special form by using
      a single operand to hold both __tls_get_addr and sym@tlsld and defining
      a print method to output the above form, and an encoding method to
      generate the two fixups.
      
      As a side simplification, the patch replaces the two instruction
      patterns BL8_NOP_TLSGD and BL8_NOP_TLSLD by a single BL8_NOP_TLS,
      since the patterns already operate in an identical fashion (whether
      we have a local-dynamic or global-dynamic symbol is already encoded
      in the symbol modifier).
      
      No change in code generation intended.
      
      llvm-svn: 185477
      5143bab2
    • Ulrich Weigand's avatar
      · 40509956
      Ulrich Weigand authored
      [PowerPC] Remove VK_PPC_TLSGD and VK_PPC_TLSLD
      
      The PowerPC-specific modifiers VK_PPC_TLSGD and VK_PPC_TLSLD
      correspond exactly to the generic modifiers VK_TLSGD and VK_TLSLD.
      This causes some confusion with the asm parser, since VK_PPC_TLSGD
      is output as @tlsgd, which is then read back in as VK_TLSGD.
      
      To avoid this confusion, this patch removes the PowerPC-specific
      modifiers and uses the generic modifiers throughout.  (The only
      drawback is that the generic modifiers are printed in upper case
      while the usual convention on PowerPC is to use lower-case modifiers.
      But this is just a cosmetic issue.)
      
      llvm-svn: 185476
      40509956
    • Benjamin Kramer's avatar
      SystemZ: Fold variable into assertion. · 421c8fb2
      Benjamin Kramer authored
      llvm-svn: 185475
      421c8fb2
    • Jim Ingham's avatar
      Mark the "step over single instruction" plan private in the StopInfoWatchpoint::PerformAction to · 363ddd7d
      Jim Ingham authored
      ensure that the watchpoint not the step is reported as the stop reason.  Also, stash away & restore
      the current stop reason just so it can't go away on us.
      
      llvm-svn: 185474
      363ddd7d
    • Richard Trieu's avatar
      Redirect the output of a test to a temporary file to prevent messing up · 1466faf8
      Richard Trieu authored
      the test environment.
      
      llvm-svn: 185470
      1466faf8
    • James Dennett's avatar
      Documentation: Update docs for C++ lambdas to more accurately reflect · c5aff055
      James Dennett authored
      C++1y init-capture support, and to improve some Doxygen markup.
      
      llvm-svn: 185469
      c5aff055
    • Marshall Clow's avatar
      Adorn make_unique with visibility and inline attributes · 95ddb530
      Marshall Clow authored
      llvm-svn: 185468
      95ddb530
    • Joerg Sonnenberger's avatar
      Don't free the C locale on NetBSD. · 392a178c
      Joerg Sonnenberger authored
      llvm-svn: 185467
      392a178c
    • Ed Maste's avatar
      Fix build with LLVM_DISABLE_PYTHON · a85d364b
      Ed Maste authored
      llvm-svn: 185466
      a85d364b
    • Jyotsna Verma's avatar
      Add 'REQUIRES: object-emission' to DebugInfo/inlined-arguments.ll. · ddca5fa2
      Jyotsna Verma authored
      llvm-svn: 185465
      ddca5fa2
    • Howard Hinnant's avatar
      Updated CREDITS.TXT · ef93bc1c
      Howard Hinnant authored
      llvm-svn: 185464
      ef93bc1c
    • Manman Ren's avatar
      Debug Info: clean up usage of Verify. · 0d441f18
      Manman Ren authored
      No functionality change. It should suffice to check the type of a debug info
      metadata, instead of calling Verify.
      
      llvm-svn: 185463
      0d441f18
    • Howard Hinnant's avatar
      Updated CREDITS.TXT · 904e587f
      Howard Hinnant authored
      llvm-svn: 185462
      904e587f
    • Ulrich Weigand's avatar
      · 0f039824
      Ulrich Weigand authored
      [PowerPC] Support TLS variables in debug info
      
      This adds an implementation of getDebugThreadLocalSymbol for
      (64-bit) PowerPC.  This needs to return a generic MCExpr
      since on ppc64, we need to add a bias of 0x8000 to the
      value returned by the R_PPC64_DTPREL64 relocation.
      
      llvm-svn: 185461
      0f039824
    • Ulrich Weigand's avatar
      · 2b6fc8d6
      Ulrich Weigand authored
      [DebugInfo] Allow getDebugThreadLocalSymbol to return MCExpr
      
      This allows getDebugThreadLocalSymbol to return a generic MCExpr
      instead of just a MCSymbolRefExpr.
      
      This is in preparation for supporting debug info for TLS variables
      on PowerPC, where we need to describe the variable location using
      a more complex expression than just MCSymbolRefExpr.
      
      llvm-svn: 185460
      2b6fc8d6
    • Ulrich Weigand's avatar
      · 8b3d2266
      Ulrich Weigand authored
      [DebugInfo] Hold generic MCExpr in AddrPool
      
      This changes the AddrPool infrastructure to enable it to hold
      generic MCExpr expressions, not just MCSymbolRefExpr.
      
      This is in preparation for supporting debug info for TLS variables
      on PowerPC, where we need to describe the variable location using
      a more complex expression than just MCSymbolRefExpr.
      
      llvm-svn: 185459
      8b3d2266
    • Ulrich Weigand's avatar
      · 396ba8b4
      Ulrich Weigand authored
      [DebugInfo] Introduce DIEExpr variant of DIEValue to hold MCExpr values
      
      This partially reverts r185202 and restores DIELabel to hold plain
      MCSymbol references.  Instead, we add a new subclass DIEExpr of
      DIEValue that can hold generic MCExpr references.
      
      This is in preparation for supporting debug info for TLS variables
      on PowerPC, where we need to describe the variable location using
      a more complex expression than just MCSymbolRefExpr.
      
      llvm-svn: 185458
      396ba8b4
    • Howard Hinnant's avatar
      Matthew Dempsky: In libc++'s <locale>, there's already dependence on an snprintf_l · 9cfcdcb9
      Howard Hinnant authored
      implementation and all of the char buffers readily have their
      allocated size available, so we can easily use snprintf_l instead of
      sprintf_l.
      
      This avoids OpenBSD's linker warnings against using sprintf and
      vsprintf.
      Howard:  Please consider a patch for CREDITS.TXT
      
      llvm-svn: 185457
      9cfcdcb9
    • Manman Ren's avatar
      Debug Info: cleanup · d0e67aa1
      Manman Ren authored
      llvm-svn: 185456
      d0e67aa1
    • Michael Sartain's avatar
      802b055e
    • Reid Kleckner's avatar
      [ms-cxxabi] Mangle variadic template parameter packs · f0ae35b8
      Reid Kleckner authored
      Unlike Itanium, there is no code to indicate the beginning of a
      parameter pack.  I tested this with MSVC 2013, which is the only version
      that implements variadic templates so far.
      
      This is needed to compile APInt.cpp for the MS C++ ABI.
      
      Reviewers: timurrrr
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1077
      
      llvm-svn: 185454
      f0ae35b8
    • Richard Smith's avatar
      Add regression test for PR12331. · 5001ec91
      Richard Smith authored
      llvm-svn: 185453
      5001ec91
Loading