Skip to content
  1. Apr 03, 2013
  2. Apr 02, 2013
    • Enrico Granata's avatar
      Enabling metrics to calculate (and dump) their standard deviation · 1ed58f7b
      Enrico Granata authored
      llvm-svn: 178580
      1ed58f7b
    • Howard Hinnant's avatar
      The cmake script is failing to copy cxxabi.h to the right place because it was... · 51648776
      Howard Hinnant authored
      The cmake script is failing to copy cxxabi.h to the right place because it was generating to destination path like so /include// and dstdir can legally be blank from my interpretation of the script, and this would then generate a path like libcxx/include// which is illegal.
      
      llvm-svn: 178579
      51648776
    • Enrico Granata's avatar
      Misc fixes: · 4e969282
      Enrico Granata authored
      - make an overload of Launch() that takes an init list of const char* if all you need to tweak in the launch info are the command-line arguments
      - make Run() return an int that you can use as an exit-code
      - make dynamic values work properly when recursing in FetchVariables()
      - make the po output more obvious in verbose mode
      
      llvm-svn: 178578
      4e969282
    • Enrico Granata's avatar
      <rdar://problem/13415737> · d83bfce6
      Enrico Granata authored
      Fixing a bug where LLDB was not handling correctly CFStrings that have an explicit length but no NULL terminator
      The data formatter was showing garbled data as part of the summary
      The fix is to explicitly figure out the explicit length if we need to (bitfields tell us when that is the case) and use that as a size delimiter
      
      llvm-svn: 178577
      d83bfce6
    • Howard Hinnant's avatar
      Richard Smith: It was pointed out to me off-list that libc++'s non-compiler-builtin · 575e4e36
      Howard Hinnant authored
      implementation of std::is_polymorphic does this:
      
      template <class _Tp> struct __is_polymorphic1 : public _Tp {};
      
      ... and that g++ rejects this if _Tp has an inaccessible virtual destructor
      (because __is_polymorphic1<_Tp> would have a deleted virtual destructor
      overriding _Tp's non-deleted destructor). Clang was failing to reject this;
      I've fixed that in r178563, but that causes libc++'s corresponding test
      case to fail with both clang and gcc when using the fallback
      implementation. The fallback code also incorrectly rejects final types.
      
      The attached patch fixes the fallback implementation of is_polymorphic; we
      now use dynamic_cast's detection of polymorphic class types rather than
      trying to determine if adding a virtual function makes the type larger:
      
        enable_if<sizeof((_Tp*)dynamic_cast<const volatile
      void*>(declval<_Tp*>())) != 0, ...>
      
      Two things of note here:
      * the (_Tp*) cast is necessary to work around bugs in Clang and g++ where
      we otherwise don't instantiate the dynamic_cast (filed as PR15656)
      * the 'const volatile' is here to treat is_polymorphic<cv T> as true for a
      polymorphic class type T -- my reading of the standard suggests this is
      incorrect, but it matches our builtin __is_polymorphic and gcc
      
      llvm-svn: 178576
      575e4e36
    • Edwin Vane's avatar
      Use 'auto' with 'new' expressions · eeed39a5
      Edwin Vane authored
      For variable declarations initialized with new expressions, use 'auto' for the
      type specifier.
      
      The 'auto' replacement happens only when the type of the VarDecl exactly
      matches the type of the initializer and the VarDecl is *not* CV-qualified. The
      only case that is currently handled is if the pointer type of the VarDecl is
      itself CV qualified.
      
      Some improvements need to be made to Clang's TypeLoc information in order for
      other CV qualifier cases to be successfully handled. See the new test suite
      new_cv_failing.cpp for examples of usages that could be handled with such an
      improvement.
      
      Function pointers are, for now, not transformed until the identifier info can
      be extracted.
      
      Reviewer: klimek
      llvm-svn: 178575
      eeed39a5
    • Greg Clayton's avatar
      <rdar://problem/13516463> · 1afa68ed
      Greg Clayton authored
      Don't crash when there is no register context for a thread with kernel debugging. The kernel debugging uses the OperatingSystemPlugin that may behave badly when trying to get thread state, so be prepared to have invalid register contexts in threads.
      
      llvm-svn: 178574
      1afa68ed
    • Sean Callanan's avatar
      Added "rb" and "rbr" aliases to fix regressions · cbf87cc8
      Sean Callanan authored
      when we changed "rb" to "rbreak".
      
      <rdar://problem/13552724>
      
      llvm-svn: 178573
      cbf87cc8
    • Stefanus Du Toit's avatar
      Update assertion string to new name of ArithAssignBinaryOperator · af4549d6
      Stefanus Du Toit authored
      llvm-svn: 178572
      af4549d6
Loading