summaryrefslogtreecommitdiffstats
path: root/docs/ReleaseNotes.html
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-06-22 11:18:10 +0000
committerAlexey Samsonov <samsonov@google.com>2012-06-22 11:18:10 +0000
commitf7a4c35c945dcbe8bfedae1cd6ea31d8e80ef4d6 (patch)
treefabb2e45499cd887e6033882731f746ed629a4f0 /docs/ReleaseNotes.html
parent8da16874f48d2c5c8f1275c7fd77caf8a8af3f81 (diff)
Add release note about -gline-tables-only flag
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158989 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.html')
-rw-r--r--docs/ReleaseNotes.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 509e149ad2..294377318d 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -27,6 +27,7 @@ td {
<li><a href="#whatsnew">What's New in Clang 3.2?</a>
<ul>
<li><a href="#majorfeatures">Major New Features</a></li>
+ <li><a href="#newflags">New Compiler Flags</a></li>
<li><a href="#cchanges">C Language Changes</a></li>
<li><a href="#cxxchanges">C++ Language Changes</a></li>
<li><a href="#objcchanges">Objective-C Language Changes</a></li>
@@ -122,6 +123,17 @@ int f(bool b) {
flag.</li>
</ul>
+<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
+<h3 id="newflags">New Compiler Flags</h3>
+<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
+<ul>
+ <li><tt>-gline-tables-only</tt> controls the
+ <a href="http://clang.llvm.org/docs/UsersManual.html#debuginfosize">size of debug information</a>.
+ This flag tells Clang to emit debug info which is just enough to obtain stack traces with
+ function names, file names and line numbers (by such tools as gdb or addr2line).
+ Debug info for variables or function parameters is not produced, which reduces
+ the size of the resulting binary.
+</ul>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h3 id="cchanges">C Language Changes in Clang</h3>