Skip to content
  1. Jul 23, 2013
  2. Jul 22, 2013
    • Hans Wennborg's avatar
      Option parsing: allow aliases in groups · 31d6fd84
      Hans Wennborg authored
      Option aliases in option groups were previously disallowed by an assert.
      As far as I can tell, there was no technical reason for this, and I would
      like to be able to put cl.exe compatible options in their own group for Clang,
      so let's change the assert.
      
      llvm-svn: 186838
      31d6fd84
  3. Jul 20, 2013
  4. Jul 19, 2013
  5. Jul 18, 2013
    • Reid Kleckner's avatar
      [Support] Beef up and expose the response file parsing in llvm::cl · a73c7781
      Reid Kleckner authored
      The plan is to use it for clang and lld.
      
      Major behavior changes:
      - We can now parse UTF-16 files that have a byte order mark.
      - PR16209: Don't drop backslashes on the floor if they don't escape
        anything.
      
      The actual parsing loop was based on code from Clang's driver.cpp,
      although it's been rewritten to track its state with control flow rather
      than state variables.
      
      Reviewers: hans
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1170
      
      llvm-svn: 186587
      a73c7781
    • Rafael Espindola's avatar
      Remove dead code. · 213c4cb1
      Rafael Espindola authored
      llvm-svn: 186561
      213c4cb1
    • Rafael Espindola's avatar
      Fix a regression I introduced back in r178147. · 9ed1761a
      Rafael Espindola authored
      We don't want cast and dyn_cast to work on temporaries. They don't extend
      lifetime like a direct bind to a reference would, so they can introduce
      hard to find bugs.
      
      I added tests to make sure we don't regress this. Thanks to Eli Friedman for
      noticing this and for his suggestions on how to test it.
      
      llvm-svn: 186559
      9ed1761a
    • Eli Friedman's avatar
      Handle '.' correctly in hex float literal parsing. · d2eb07ac
      Eli Friedman authored
      There were a couple of different loops that were not handling
      '.' correctly in APFloat::convertFromHexadecimalString; these mistakes
      could lead to assertion failures and incorrect rounding for overlong
      hex float literals.
      
      Fixes PR16643.
      
      llvm-svn: 186539
      d2eb07ac
  6. Jul 16, 2013
  7. Jul 14, 2013
  8. Jul 13, 2013
    • Rafael Espindola's avatar
      Attempt at fixing a mingw bot. · 1a08ba0e
      Rafael Espindola authored
      It is failing with
      
      YAMLTest.cpp:38:   instantiated from here
      YAMLTraits.h:226: error: 'llvm::yaml::MappingTraits<<unnamed>::BinaryHolder>::mapping' is not a valid template argument for type 'void (*)(llvm::yaml::IO&, <unnamed>::BinaryHolder&)' because function 'static void llvm::yaml::MappingTraits<<unnamed>::BinaryHolder>::mapping(llvm::yaml::IO&, <unnamed>::BinaryHolder&)' has not external linkage
      
      llvm-svn: 186245
      1a08ba0e
  9. Jul 11, 2013
  10. Jul 10, 2013
    • Peter Collingbourne's avatar
      Implement categories for special case lists. · 49062a97
      Peter Collingbourne authored
      A special case list can now specify categories for specific globals,
      which can be used to instruct an instrumentation pass to treat certain
      functions or global variables in a specific way, such as by omitting
      certain aspects of instrumentation while keeping others, or informing
      the instrumentation pass that a specific uninstrumentable function
      has certain semantics, thus allowing the pass to instrument callers
      according to those semantics.
      
      For example, AddressSanitizer now uses the "init" category instead of
      global-init prefixes for globals whose initializers should not be
      instrumented, but which in all other respects should be instrumented.
      
      The motivating use case is DataFlowSanitizer, which will have a
      number of different categories for uninstrumentable functions, such
      as "functional" which specifies that a function has pure functional
      semantics, or "discard" which indicates that a function's return
      value should not be labelled.
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1092
      
      llvm-svn: 185978
      49062a97
    • Peter Collingbourne's avatar
      Add some SpecialCaseList unit tests. · fea30e56
      Peter Collingbourne authored
      Differential Revision: http://llvm-reviews.chandlerc.com/D1091
      
      llvm-svn: 185977
      fea30e56
  11. Jul 09, 2013
  12. Jul 08, 2013
  13. Jul 06, 2013
  14. Jul 05, 2013
  15. Jul 04, 2013
  16. Jul 02, 2013
  17. Jun 29, 2013
  18. Jun 28, 2013
  19. Jun 27, 2013
  20. Jun 26, 2013
Loading