Skip to content
  1. Jan 12, 2013
    • Jack Carter's avatar
      This patch tackles the problem of parsing Mips · 873c724b
      Jack Carter authored
      register names in the standalone assembler llvm-mc.
      
      Registers such as $A1 can represent either a 32 or
      64 bit register based on the instruction using it.
      In addition, based on the abi, $T0 can represent different
      32 bit registers.
      
      
      The problem is resolved by the Mips specific AsmParser 
      td definitions changing to work together. Many cases of
      RegisterClass parameters are now RegisterOperand.
      
      
      Contributer: Vladimir Medic
      llvm-svn: 172284
      873c724b
    • Rafael Espindola's avatar
      Add a test from pr14898. · d60589ad
      Rafael Espindola authored
      llvm-svn: 172283
      d60589ad
    • Enrico Granata's avatar
      <rdar://problem/12239827> · 3309d881
      Enrico Granata authored
      Providing a data formatter for libc++ std::wstring
      In the process, refactoring the std::string data formatter to be written in C++ so that commonalities between the two can be exploited
      Also, providing a new API on the ValueObject to navigate a hierarchy by index-path
      Lastly, an appropriate test case is included
      
      llvm-svn: 172282
      3309d881
    • Jakob Stoklund Olesen's avatar
      Limit the search space in RAGreedy::tryEvict(). · 3dd236cd
      Jakob Stoklund Olesen authored
      When tryEvict() is looking for a cheaper register in the allocation
      order, skip the tail of too expensive registers when possible.
      
      llvm-svn: 172281
      3dd236cd
    • Jakob Stoklund Olesen's avatar
      Precompute some information about register costs. · 8f644449
      Jakob Stoklund Olesen authored
      Remember the minimum cost of the registers in an allocation order and
      the number of registers at the end of the allocation order that have the
      same cost per use.
      
      This information can be used to limit the search space for
      RAGreedy::tryEvict() when looking for a cheaper register.
      
      llvm-svn: 172280
      8f644449
    • Matt Beaumont-Gay's avatar
      Fix -Wunused-comparison for comparisons in arguments to function-like macros. · b1e71a7d
      Matt Beaumont-Gay authored
      Previously, -Wunused-comparison ignored comparisons in both macro bodies and
      macro arguments, but we would still emit a -Wunused-value warning for either.
      Now we correctly emit -Wunused-comparison for expressions in macro arguments.
      
      Also, add isMacroBodyExpansion to SourceManager, to go along with
      isMacroArgExpansion.
      
      llvm-svn: 172279
      b1e71a7d
    • Fariborz Jahanian's avatar
      comment parsing: when property accessors don't have comment · 37494a17
      Fariborz Jahanian authored
      of their own (or are syntheszed), use prperty's comment.
      for them. // rdar://12791315
      
      llvm-svn: 172278
      37494a17
    • Eli Bendersky's avatar
      Stop hiding the interface-exposed EatToEndOfStatement (see r172276). · 03872a3a
      Eli Bendersky authored
      llvm-svn: 172277
      03872a3a
    • Eli Bendersky's avatar
      Make ParseIdentifier a public method instead of private. · 0cf0cb92
      Eli Bendersky authored
      The MCAsmParser interface defines ParseIdentifier is public. There's no reason
      whatsoever for AsmParser (which implements the MCAsmParser interface) to hide
      this method.
      
      This is all part of a bigger scheme. Several asm parsing "extensions" use the
      main parser properly through the MCAsmParser interface. However,
      GenericAsmParser has much more exclusive access and uses implementation details
      from the concrete implementation - AsmParser, in which it is also declared as
      a friend. This makes for overly coupled code, and even makes it hard to split
      GenericAsmParser into a separate file. There's no reason why GenericAsmParser
      shouldn't be able to access AsmParser through an abstract interface, as long
      as it's actually registered as an extension.
      
      llvm-svn: 172276
      0cf0cb92
    • Greg Clayton's avatar
      <rdar://problem/12973809> · 91c0e749
      Greg Clayton authored
      Fixed an issue with the auto loading of script resources in debug info files. Any platform can add support for this, and on MacOSX we allow dSYM files to contain python modules that get automatically loaded when a dSYM file is associated with an executable or shared library. 
      
      The modifications will now:
      - Let the module locate the symbol file naturally instead of using a function that only works in certain cases. This helps us to locate the script resources as long as the dSYM file can be found.
      - Don't try and do any of this if the script interpreter has scripting disabled.
      - Allow more than one scripting resource to be found in a symbol file by returning the list
      - Load the scripting resources when a symbol file is added via the "target symbols add" command.
      - Be smarter about matching the dSYM mach-o file to an existing executable in the target images by stripping extensions on the symfile basname if needed.
      
      llvm-svn: 172275
      91c0e749
    • Ted Kremenek's avatar
      Refine analyzer's handling of unary '!' and floating types to not assert. · 4e9a2dbd
      Ted Kremenek authored
      Fixes PR 14634 and <rdar://problem/12903080>.
      
      llvm-svn: 172274
      4e9a2dbd
    • Sean Callanan's avatar
      Fixed a bug that caused the AST importer to erroneously · 19dfc939
      Sean Callanan authored
      import incomplete definitions for RecordDecls and then
      mark the resulting definition as complete.
      
      llvm-svn: 172273
      19dfc939
    • Dmitri Gribenko's avatar
      libclang: use C++ casts in CXString.cpp · 037f9d18
      Dmitri Gribenko authored
      llvm-svn: 172272
      037f9d18
    • Michael Gottesman's avatar
      Fixed whitespace. · 2a654272
      Michael Gottesman authored
      llvm-svn: 172271
      2a654272
    • Dmitri Gribenko's avatar
      libclang: constness for CXString · ec3a16fc
      Dmitri Gribenko authored
      llvm-svn: 172270
      ec3a16fc
  2. Jan 11, 2013
Loading