Commit Graph

39 Commits

Author SHA1 Message Date
Devang Patel 0751a28888 Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprograms
and llvm.dbg.global_variables.

llvm-svn: 74251
2009-06-26 01:49:18 +00:00
Bruno Cardoso Lopes 9d809cad50 Fix some typos
llvm-svn: 72579
2009-05-29 17:08:57 +00:00
Bill Wendling e9353d7d6f Formatting. Some updating of data structures. More work needs to be done to update the examples.
llvm-svn: 71974
2009-05-17 05:52:39 +00:00
Chris Lattner 0fc36ca69d update some syntax
llvm-svn: 68362
2009-04-03 00:29:19 +00:00
Devang Patel c094970cd2 Each input file is encoded as a separate compile unit in LLVM debugging
information output. However, many target specific tool chains prefer to encode
only one compile unit in an object file. In this situation, the LLVM code
generator will include  debugging information entities in the compile unit 
that is marked as main compile unit. The code generator accepts maximum one main
compile unit per module. If a module does not contain any main compile unit 
then the code generator will emit multiple compile units in the output object 
file.

[Part 1]

Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit  to mark the unit as "main" unit. By defaults all units are considered  non-main.  Update SourceLevelDebugging.html to document "main" compile unit.

Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here.

Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit.

[Part 2]

Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs.

---

This is Part 1.

llvm-svn: 63400
2009-01-30 18:20:31 +00:00
Misha Brukman 39dcddf827 * Comply with HTML 4.01 Strict standard
* Converted absolute links to llvm.org/docs to relative links
* Fixed spelling and s/;/:/, as needed

llvm-svn: 61071
2008-12-16 02:54:22 +00:00
Misha Brukman 86242e1990 Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Devang Patel b885a91a12 Document TEST=dbgopt
llvm-svn: 59839
2008-11-21 19:35:57 +00:00
John Criswell 663f5fccd4 Minor spelling and typo fixes.
llvm-svn: 50448
2008-04-29 22:12:40 +00:00
Evan Cheng 124c3525d1 Update llvm.dbg.func.start.
llvm-svn: 46636
2008-02-01 09:12:11 +00:00
Duncan Sands 40f775bf67 Fix typos.
llvm-svn: 37573
2007-06-14 11:27:07 +00:00
Jim Laskey 6e8a2f4738 Change e-mail address.
llvm-svn: 35103
2007-03-14 19:32:21 +00:00
Jim Laskey c56315c2b5 Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.

llvm-svn: 33550
2007-01-26 21:22:28 +00:00
Jim Laskey 4d98e2e79d Update docs
llvm-svn: 32037
2006-11-30 14:36:22 +00:00
Jim Laskey 98a1385764 Update info on mangled names.
llvm-svn: 29804
2006-08-21 22:57:31 +00:00
Jim Laskey 4771cca1b5 Update debugging documents.
llvm-svn: 29800
2006-08-21 21:21:06 +00:00
Jim Laskey e7235645a2 fix typos
llvm-svn: 28894
2006-06-21 11:08:10 +00:00
Jim Laskey 4810c26d04 add subroutine types
llvm-svn: 28878
2006-06-20 21:13:20 +00:00
Jim Laskey b6a6f7971f add decimal form of LLVMDebugVersion
llvm-svn: 28817
2006-06-16 13:45:38 +00:00
Jim Laskey b2ff2d481e 1. Revise vector debug support.
2. Update docs for vector debug support and new version control.

3. Simplify serialization of DebugDescInfo subclasses.

llvm-svn: 28816
2006-06-16 13:14:03 +00:00
Jim Laskey 19f964e048 1. Support standard dwarf format (was bootstrapping in Apple format.)
2. Add vector support.

llvm-svn: 28807
2006-06-15 20:51:43 +00:00
Jim Laskey 3481e12f63 Fixed some grammer and spelling.
llvm-svn: 27062
2006-03-24 09:20:27 +00:00
Jim Laskey 4a9054d705 Correction of stoppoint arguments.
llvm-svn: 26983
2006-03-23 17:58:46 +00:00
Jim Laskey 5dcfd565b5 Updated information related to local variables and scopes.
llvm-svn: 26982
2006-03-23 17:54:33 +00:00
Jim Laskey 9dcffe7767 Update doc to reflect changes in subprogram and block descriptors.
llvm-svn: 26783
2006-03-15 19:10:52 +00:00
Jim Laskey 2024aabcb0 Reflect the fact that empty strings can be expressed as null.
llvm-svn: 26761
2006-03-14 18:50:50 +00:00
Jim Laskey 14edc936ec Bring debugging information up to date.
llvm-svn: 26759
2006-03-14 18:08:46 +00:00
Reid Spencer ca05854a71 Changes docs for llvm.cs.uiuc.edu -> llvm.org
llvm-svn: 26746
2006-03-14 05:39:39 +00:00
Misha Brukman cda6a9b9eb * Straighten a comment to a single line
* Block off the section correctly with <!-- ***** -->

llvm-svn: 18721
2004-12-09 20:27:37 +00:00
Misha Brukman 47d186cf55 Remove more smileys. I kept the one in WritingAnLLVMPass because it is actually
funny.

llvm-svn: 18475
2004-12-04 00:33:34 +00:00
Reid Spencer c3c4c4f843 Minor format tweask for tables.
llvm-svn: 17394
2004-11-01 08:19:36 +00:00
Chris Lattner 8a92e19ba1 Fix broken link
llvm-svn: 15008
2004-07-19 19:30:40 +00:00
Misha Brukman 3155159ef9 Fix broken internal link.
llvm-svn: 14002
2004-06-03 23:42:24 +00:00
Misha Brukman aa8db1845e Fix broken internal links.
llvm-svn: 13999
2004-06-03 23:33:10 +00:00
Chris Lattner 020e1fc733 Make use of the new doc_author class. "Seperate content from presentation" they said.
llvm-svn: 13675
2004-05-23 21:07:27 +00:00
Misha Brukman 3c1f8e7aa7 Use the images in the img/ directory.
llvm-svn: 13509
2004-05-12 21:26:16 +00:00
Misha Brukman f91d994801 Made file comply with HTML-4.01 (Strict)
llvm-svn: 13503
2004-05-12 19:21:57 +00:00
Chris Lattner 941515cf67 Add links to SLD from the LangRef.html doc
Clean up the SLD document a LOT
Fill in a lot of details in the SLD document
update the formats for the object descriptors

llvm-svn: 10698
2004-01-06 05:31:32 +00:00
Chris Lattner 1811fca71c First version of this document. It is still missing some pretty big pieces, and
the debugging information formats will likely change, but it's a start, and I
have to move on to other things in the short-term, so it might be a while before
I get back to working on this.

llvm-svn: 10683
2004-01-05 05:06:33 +00:00