Skip to content
  1. Feb 01, 2014
    • Peter Collingbourne's avatar
      Introduce line editor library. · c7d437c1
      Peter Collingbourne authored
      This library will be used by clang-query. I can imagine LLDB becoming another
      client of this library, so I think LLVM is a sensible place for it to live.
      It wraps libedit, and adds tab completion support.
      
      The code is loosely based on the line editor bits in LLDB, with a few
      improvements:
      
       - Polymorphism for retrieving the list of tab completions, based on
         the concept pattern from the new pass manager.
      
       - Tab completion doesn't corrupt terminal output if the input covers
         multiple lines. Unfortunately this can only be done in a truly horrible
         way, as far as I can tell. But since the alternative is to implement our
         own line editor (which I don't think LLVM should be in the business of
         doing, at least for now) I think it may be acceptable.
      
       - Includes a fallback for the case where the user doesn't have libedit
         installed.
      
      Note that this uses C stdio, mainly because libedit also uses C stdio.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2200
      
      llvm-svn: 200595
      c7d437c1
    • Peter Collingbourne's avatar
      Introduce llvm::sys::path::home_directory. · f7d41011
      Peter Collingbourne authored
      This will be used by the line editor library to derive a default path to
      the history file.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D2199
      
      llvm-svn: 200594
      f7d41011
    • Reid Kleckner's avatar
      Don't put non-static allocas in the static alloca map · dfbed59c
      Reid Kleckner authored
      Allocas marked inalloca are never static, but we were trying to put them
      into the static alloca map if they were in the entry block.  Also add an
      assertion in x86 fastisel.
      
      llvm-svn: 200593
      dfbed59c
    • Lang Hames's avatar
      Split out small-code-model MCJIT testcase in order to xfail for AArch64, where · b0bd489e
      Lang Hames authored
      PC-rel relocations aren't yet fully implemented.
      
      llvm-svn: 200592
      b0bd489e
    • Rafael Espindola's avatar
      Remove a redundant call to hasRawTextSupport. · 499a748b
      Rafael Espindola authored
      The code path it was guarding was already using emitRawComment.
      
      llvm-svn: 200591
      499a748b
    • Rafael Espindola's avatar
      Remove another hasRawTextSupport. · 972e71ab
      Rafael Espindola authored
      To remove this one simply move the end of file logic from the asm printer to
      the target mc streamer.
      
      This removes the last call to hasRawTextSupport from lib/Target.
      
      llvm-svn: 200590
      972e71ab
  2. Jan 31, 2014
Loading