Devang Patel
24a674bfc7
Update docs to reflect recent addition of new CompileUnit elements.
...
llvm-svn: 139374
2011-09-09 17:07:15 +00:00
Devang Patel
59e27c5f12
Do not use named md nodes to track variables that are completely optimized. This does not scale while doing LTO with debug info. New approach is to include list of variables in the subprogram info directly.
...
llvm-svn: 138145
2011-08-19 23:28:12 +00:00
Devang Patel
eb1bb4e419
Until now all debug info MDNodes referred to a root MDNode, a compile unit. This simplified handling of these needs in dwarf writer. However, one side effect of this is that during link time optimization all these MDNodes are _not_ uniqued. In other words there will be N number of MDNodes describing "int", "char" and all other types, which would suddenly grow when each object file starts using libraries like STL.
...
MDNodes graph structure such that compiler unit keeps track of important MDNodes and update dwarf writer to process mdnodes top-down instead of bottom up.
llvm-svn: 137778
2011-08-16 22:09:43 +00:00
Devang Patel
ac0a1f6146
Update document listing DIVariable elements to reflect recent changes.
...
llvm-svn: 136228
2011-07-27 18:14:50 +00:00
Nick Lewycky
f6e3711674
80 columns.
...
llvm-svn: 135972
2011-07-25 21:13:23 +00:00
Bob Wilson
088df09f27
Revert "Update docs to reflect r135457."
...
This reverts commit ba034c0a2e71303c7cf3f43ca8e69dc8436b32e2.
llvm-svn: 135485
2011-07-19 16:31:58 +00:00
Devang Patel
7ca23dde4e
Update docs to reflect r135457.
...
llvm-svn: 135458
2011-07-19 01:04:39 +00:00
Devang Patel
1d81ea81cd
Fix html formatting.
...
llvm-svn: 132345
2011-05-31 18:06:14 +00:00
Devang Patel
5c26a85d1d
Clarify documentation and remove guarantees that are not fulfilled.
...
llvm-svn: 132344
2011-05-31 17:45:27 +00:00
Devang Patel
09fa69e151
Use llvm.dbg.cu named metadata to collect compile units.
...
llvm-svn: 130756
2011-05-03 16:18:28 +00:00
NAKAMURA Takumi
aa3d6242cf
docs: Introduce cascading style <div> and <p> continued on <h[2-5]>.
...
<h2>Section Example</h2>
<div> <!-- h2+div is applied -->
<p>Section preamble.</p>
<h3>Subsection Example</h3>
<p> <!-- h3+p is applied -->
Subsection body
</p>
<!-- End of section body -->
</div>
FIXME: Care H5 better.
llvm-svn: 130040
2011-04-23 00:30:22 +00:00
Devang Patel
1d6bbd41aa
Let front-end tie subprogram declaration with subprogram definition directly.
...
llvm-svn: 130028
2011-04-22 23:10:17 +00:00
NAKAMURA Takumi
fc8d930f6e
docs: Use <Hn> as Heading elements instead of <DIV class="doc_foo">.
...
H1 ... doc_title
H2 ... doc_section
H3 ... doc_subsection
H4 ... doc_subsubsection
llvm-svn: 129736
2011-04-18 23:59:50 +00:00
Devang Patel
514b4006c2
Introduce support to encode Objective-C property information in debugging information generated for an interface.
...
llvm-svn: 129624
2011-04-16 00:11:51 +00:00
NAKAMURA Takumi
6bd36d56e4
docs/*.html: Make W3C HTML 4.01 Strict more compliant.
...
FIXME: The logo handling in ReleaseNotes.html
llvm-svn: 129208
2011-04-09 09:51:57 +00:00
NAKAMURA Takumi
ca46f5a3b5
docs: Canonicalize URLs.
...
llvm-svn: 129181
2011-04-09 02:13:37 +00:00
Devang Patel
778947c203
Simplify array bound checks and clarify comments. One element array can have same non-zero number as lower bound as well as upper bound.
...
llvm-svn: 129170
2011-04-08 23:39:38 +00:00
Devang Patel
e39647951b
Do not emit DW_AT_upper_bound and DW_AT_lower_bound for unbouded array.
...
If lower bound is more then upper bound then consider it is an unbounded array.
An array is unbounded if non-zero lower bound is same as upper bound.
If lower bound and upper bound are zero than array has one element.
llvm-svn: 129156
2011-04-08 21:55:10 +00:00
Devang Patel
9f738849ab
Add support to encode function's template parameters.
...
llvm-svn: 128947
2011-04-05 22:52:06 +00:00
Devang Patel
1c6b681413
Document llvm.dbg.sp, llvm.dbg.gv and llvm.dbg.enum
...
llvm-svn: 128466
2011-03-29 17:27:08 +00:00
Devang Patel
e1aa67cff5
Since last couple of days, argument number is encoded using 8 bits from line number field in argument's debug info.
...
llvm-svn: 127250
2011-03-08 16:29:40 +00:00
Devang Patel
fb30b85e7c
Update DILexicalBlock doc to mention new fields.
...
llvm-svn: 127249
2011-03-08 16:25:29 +00:00
Devang Patel
7846c1e99b
Update docs to match reality.
...
llvm-svn: 124761
2011-02-03 00:22:17 +00:00
Devang Patel
9a8539c4d9
Remove stale references of obsolete @llvm.dbg.variable.
...
llvm-svn: 124664
2011-02-01 17:22:12 +00:00
Chris Lattner
92ec3d1bf4
finish a sentence.
...
llvm-svn: 123750
2011-01-18 06:12:10 +00:00
Devang Patel
9fbc680c5e
Fix lexical block's tag number.
...
llvm-svn: 115516
2010-10-04 16:51:59 +00:00
Devang Patel
cac38900f1
Fix block descriptor documentation.
...
llvm-svn: 115362
2010-10-01 22:45:00 +00:00
Devang Patel
6df452cfb1
Fix dbg_declare signature in document.
...
llvm-svn: 115326
2010-10-01 19:22:16 +00:00
Devang Patel
bed5e7d404
Fix DIDerived type fields' type in document.
...
llvm-svn: 115325
2010-10-01 19:19:30 +00:00
Devang Patel
4a7904d652
Fix compile unit in example. Thanks Renato Golin!
...
llvm-svn: 108246
2010-07-13 16:53:20 +00:00
Devang Patel
e89b759501
Update docs to reflect new DISubprogram elements.
...
llvm-svn: 105495
2010-06-04 22:49:55 +00:00
Dan Gohman
aabfdb39af
Fix more whitespace to be consistent with AsmPrinter.
...
llvm-svn: 104963
2010-05-28 17:13:49 +00:00
Dan Gohman
d6a6f61fdb
Fix whitespace to be more consistent with AsmPrinter's style.
...
llvm-svn: 104962
2010-05-28 17:07:41 +00:00
mike-m
f375e9a092
Revert r103213. It broke several sections of live website.
...
llvm-svn: 103219
2010-05-07 00:28:04 +00:00
mike-m
e08af303a6
Overhauled llvm/clang docs builds. Closes PR6613.
...
NOTE: 2nd part changeset for cfe trunk to follow.
*** PRE-PATCH ISSUES ADDRESSED
- clang api docs fail build from objdir
- clang/llvm api docs collide in install PREFIX/
- clang/llvm main docs collide in install
- clang/llvm main docs have full of hard coded destination
assumptions and make use of absolute root in static html files;
namely CommandGuide tools hard codes a website destination
for cross references and some html cross references assume
website root paths
*** IMPROVEMENTS
- bumped Doxygen from 1.4.x -> 1.6.3
- splits llvm/clang docs into 'main' and 'api' (doxygen) build trees
- provide consistent, reliable doc builds for both main+api docs
- support buid vs. install vs. website intentions
- support objdir builds
- document targets with 'make help'
- correct clean and uninstall operations
- use recursive dir delete only where absolutely necessary
- added call function fn.RMRF which safeguards against botched 'rm -rf';
if any target (or any variable is evaluated) which attempts
to remove any dirs which match a hard-coded 'safelist', a verbose
error will be printed and make will error-stop.
llvm-svn: 103213
2010-05-06 23:45:43 +00:00
Chris Lattner
904f21700c
don't reference DwarfWriter
...
llvm-svn: 100401
2010-04-05 04:11:11 +00:00
Nick Lewycky
a87014f73d
Small fixes to this documentation. Remove mention of uint/int type, fix typo
...
in 'number'.
llvm-svn: 100001
2010-03-31 07:50:17 +00:00
Devang Patel
5bc1c4bd4e
Add a paragram describing how to extract line number information.
...
llvm-svn: 99636
2010-03-26 19:08:36 +00:00
John Criswell
2a4b080c5d
Fixed spelling errors.
...
llvm-svn: 98724
2010-03-17 15:01:50 +00:00
Devang Patel
59445dbf78
Start using DIFile. See updated SourceLevelDebugging.html for more information.
...
This patch updates LLVMDebugVersion to 8.
Debug info descriptors encoded using LLVMDebugVersion 7 is supported.
Corresponding llvmgcc and clang FE commits are required.
llvm-svn: 98020
2010-03-09 00:44:10 +00:00
Victor Hernandez
0b62cc6dc4
Add documentation for llvm.dbg.value intrinsic
...
llvm-svn: 93203
2010-01-11 22:53:48 +00:00
Bill Wendling
05252355b8
Remove some validation errors.
...
llvm-svn: 90184
2009-12-01 00:59:58 +00:00
Bill Wendling
991b84e5a7
Some formatting and spelling fixes.
...
llvm-svn: 90182
2009-12-01 00:53:11 +00:00
Devang Patel
4da997b936
Update to reflect recent debugging information encoding changes.
...
llvm-svn: 89896
2009-11-25 23:28:01 +00:00
Jay Foad
658af5a9e2
Fix HTML formatting.
...
llvm-svn: 89093
2009-11-17 13:13:59 +00:00
Benjamin Kramer
0f4203861f
Documentation: Perform automated correction of common typos.
...
llvm-svn: 83849
2009-10-12 14:46:08 +00:00
Devang Patel
80ae34974b
Reapply 79977.
...
Use MDNodes to encode debug info in llvm IR.
llvm-svn: 80406
2009-08-28 23:24:31 +00:00
Devang Patel
f08e35d9dc
Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.
...
llvm-svn: 80073
2009-08-26 05:01:18 +00:00
Devang Patel
02aac922b4
Update DebugInfo interface to use metadata, instead of special named llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well.
...
This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!)
llvm-svn: 79977
2009-08-25 05:24:07 +00:00
Chris Lattner
cb3f64f945
fix some typos pointed out by Hidenobu Seki
...
llvm-svn: 76342
2009-07-18 21:47:15 +00:00