aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-16 17:18:53 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-16 17:18:53 +0000
commit53e9d7970557c6b1e6924cc30eb3bcf317aa8861 (patch)
treeb9bf28be134c2c9a79dd8aec94e6aa44e6d634aa
parent0414e226b73ef7952be3ef346c1c802e7f036f54 (diff)
downloadsrc-53e9d7970557c6b1e6924cc30eb3bcf317aa8861.tar.gz
src-53e9d7970557c6b1e6924cc30eb3bcf317aa8861.zip
Vendor import of clang release_38 branch r257836:vendor/clang/clang-release_38-r257836
Notes
Notes: svn path=/vendor/clang/dist/; revision=294162 svn path=/vendor/clang/clang-release_38-r257836/; revision=294163; tag=vendor/clang/clang-release_38-r257836
-rw-r--r--docs/ReleaseNotes.rst17
-rw-r--r--lib/Basic/Version.cpp2
-rw-r--r--www/cxx_dr_status.html4
-rwxr-xr-xwww/make_cxx_dr_status4
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 @@
<!--*************************************************************************-->
<h1>C++ Defect Report Support in Clang</h1>
<!--*************************************************************************-->
-<p>Last updated: $Date: 2015-11-12 23:04:34 +0100 (Thu, 12 Nov 2015) $</p>
+<p>Last updated: $Date: 2016-01-14 00:48:11 +0100 (Thu, 14 Jan 2016) $</p>
<h2 id="cxxdr">C++ defect report implementation status</h2>
@@ -2483,7 +2483,7 @@ of class templates</td>
<td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#407">407</a></td>
<td>C++11</td>
<td>Named class with associated typedef: two names or one?</td>
- <td class="svn" align="center">SVN</td>
+ <td class="full" align="center">Clang 3.8</td>
</tr>
<tr id="408">
<td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#408">408</a></td>
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':