]> granicus.if.org Git - clang/commitdiff
Add release note about -gline-tables-only flag
authorAlexey Samsonov <samsonov@google.com>
Fri, 22 Jun 2012 11:18:10 +0000 (11:18 +0000)
committerAlexey Samsonov <samsonov@google.com>
Fri, 22 Jun 2012 11:18:10 +0000 (11:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158989 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.html

index 509e149ad283223f49d7f39bda594426d5406924..294377318d5b4b54df4baeae80cd90c0270eff2d 100644 (file)
@@ -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>