From 53e9d7970557c6b1e6924cc30eb3bcf317aa8861 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 16 Jan 2016 17:18:53 +0000 Subject: Vendor import of clang release_38 branch r257836: https://llvm.org/svn/llvm-project/cfe/branches/release_38@257836 --- docs/ReleaseNotes.rst | 17 ++++++++++++++++- lib/Basic/Version.cpp | 2 +- www/cxx_dr_status.html | 4 ++-- www/make_cxx_dr_status | 4 ++-- 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 779d45c2928b..9bdbcdbc1250 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -61,7 +61,22 @@ about them. The improvements since the 3.7 release include: New Compiler Flags ------------------ -The option .... +Clang can "tune" DWARF debugging information to suit one of several different +debuggers. This fine-tuning can mean omitting DWARF features that the +debugger does not need or use, or including DWARF extensions specific to the +debugger. Clang supports tuning for three debuggers, as follows. + +- ``-ggdb`` is equivalent to ``-g`` plus tuning for the GDB debugger. For + compatibility with GCC, Clang allows this option to be followed by a + single digit from 0 to 3 indicating the debugging information "level." + For example, ``-ggdb1`` is equivalent to ``-ggdb -g1``. + +- ``-glldb`` is equivalent to ``-g`` plus tuning for the LLDB debugger. + +- ``-gsce`` is equivalent to ``-g`` plus tuning for the Sony Computer + Entertainment debugger. + +Specifying ``-g`` without a tuning option will use a target-dependent default. New Pragmas in Clang diff --git a/lib/Basic/Version.cpp b/lib/Basic/Version.cpp index a1a67c2bc144..29271a1b4421 100644 --- a/lib/Basic/Version.cpp +++ b/lib/Basic/Version.cpp @@ -36,7 +36,7 @@ std::string getClangRepositoryPath() { // If the SVN_REPOSITORY is empty, try to use the SVN keyword. This helps us // pick up a tag in an SVN export, for example. - StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/trunk/lib/Basic/Version.cpp $"); + StringRef SVNRepository("$URL: https://llvm.org/svn/llvm-project/cfe/branches/release_38/lib/Basic/Version.cpp $"); if (URL.empty()) { URL = SVNRepository.slice(SVNRepository.find(':'), SVNRepository.find("/lib/Basic")); diff --git a/www/cxx_dr_status.html b/www/cxx_dr_status.html index dd506a08ad45..3db08a0be5cc 100644 --- a/www/cxx_dr_status.html +++ b/www/cxx_dr_status.html @@ -28,7 +28,7 @@

C++ Defect Report Support in Clang

-

Last updated: $Date: 2015-11-12 23:04:34 +0100 (Thu, 12 Nov 2015) $

+

Last updated: $Date: 2016-01-14 00:48:11 +0100 (Thu, 14 Jan 2016) $

C++ defect report implementation status

@@ -2483,7 +2483,7 @@ of class templates 407 C++11 Named class with associated typedef: two names or one? - SVN + Clang 3.8 408 diff --git a/www/make_cxx_dr_status b/www/make_cxx_dr_status index bb3007f432a5..fe484284c189 100755 --- a/www/make_cxx_dr_status +++ b/www/make_cxx_dr_status @@ -102,10 +102,10 @@ def availability(issue): if status == 'unknown': avail = 'Unknown' avail_style = ' class="none"' - elif status == '3.8': + elif status == '3.9': avail = 'SVN' avail_style = ' class="svn"' - elif status in ('3.1', '3.2', '3.3', '3.4', '3.5', '3.6', '3.7'): + elif status.startswith('3.'): avail = 'Clang %s' % status avail_style = ' class="full"' elif status == 'yes': -- cgit v1.2.3