зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
8da16874f4
Коммит
f7a4c35c94
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче