1. [NFC] Refactor DiagnosticBuilder and PartialDiagnostic (details)
  2. [libunwind] Support for leaf function unwinding. (details)
  3. [flang] Substrings with lower bound greater than upper bound (details)
  4. Disable a large test for EXPENSIVE_CHECKS and debug build (details)
Commit ee5519d323571c4a9a7d92cb817023c9b95334cd by Yaxun.Liu
[NFC] Refactor DiagnosticBuilder and PartialDiagnostic

PartialDiagnostic misses some functions compared to DiagnosticBuilder.

This patch refactors DiagnosticBuilder and PartialDiagnostic, extracts
the common functionality so that the streaming << operators are

Differential Revision:
The file was modifiedclang/include/clang/AST/CanonicalType.h (diff)
The file was modifiedclang/include/clang/AST/ASTContext.h (diff)
The file was modifiedclang/lib/AST/DeclCXX.cpp (diff)
The file was modifiedclang/include/clang/Basic/Diagnostic.h (diff)
The file was modifiedclang/include/clang/AST/DeclarationName.h (diff)
The file was modifiedclang/lib/AST/ASTContext.cpp (diff)
The file was modifiedclang/include/clang/AST/Type.h (diff)
The file was modifiedclang/include/clang/AST/NestedNameSpecifier.h (diff)
The file was modifiedclang/lib/Basic/Diagnostic.cpp (diff)
The file was modifiedclang/include/clang/AST/Decl.h (diff)
The file was modifiedclang/lib/AST/TemplateName.cpp (diff)
The file was modifiedclang/include/clang/Sema/Ownership.h (diff)
The file was modifiedclang/include/clang/AST/TemplateBase.h (diff)
The file was modifiedclang/lib/AST/TemplateBase.cpp (diff)
The file was modifiedclang/include/clang/AST/DeclCXX.h (diff)
The file was modifiedclang/include/clang/Sema/ParsedAttr.h (diff)
The file was modifiedclang/include/clang/AST/Attr.h (diff)
The file was modifiedclang/include/clang/AST/TemplateName.h (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/include/clang/Basic/PartialDiagnostic.h (diff)
Commit 23bef7ee9923b1262326981960397e8cd95d6923 by daniel.kiss
[libunwind] Support for leaf function unwinding.

Unwinding leaf function is useful in cases when the backtrace finds a
leaf function for example when it caused a signal.
This patch also add the support for the DW_CFA_undefined because it marks
the end of the frames.

Ryan Prichard provided code for the tests.

Reviewed By: #libunwind, mstorsjo

Differential Revision:
The file was addedlibunwind/test/signal_unwind.pass.cpp
The file was modifiedlibunwind/src/DwarfInstructions.hpp (diff)
The file was addedlibunwind/test/unwind_leaffunction.pass.cpp
The file was modifiedlibunwind/src/DwarfParser.hpp (diff)
The file was modifiedlibunwind/test/ (diff)
Commit dd3eb3f33239b23a12dd8864ae236390adf79550 by psteinfeld
[flang] Substrings with lower bound greater than upper bound

According to section 9.4.1, paragraph 3,
If the starting point is greater than the ending point, the substring has
length zero

But the compilers code for substring processing was failing a call to `CHECK()`
in this case.  I fixed this by just setting the number of items in the
resulting string to 0 for this situation.

Differential Revision:
The file was modifiedflang/lib/Evaluate/variable.cpp (diff)
The file was modifiedflang/test/Semantics/resolve49.f90 (diff)
Commit 1321160a26e7e489baf9b10d6de90a342f898960 by jasonliu
Disable a large test for EXPENSIVE_CHECKS and debug build

When running a large test in LLVM_ENABLE_EXPENSIVE_CHECKS=ON mode,
buildbot could hit timeout.
Disable the test when this mode is on.
Also disable it for debug so that the test won't hang for too long.

Reviewed By: hubert.reinterpretcast

Differential Revision:
The file was modifiedllvm/test/CMakeLists.txt (diff)
The file was modifiedllvm/test/ (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/ (diff)
The file was modifiedllvm/test/ (diff)