Commit Graph

36 Commits

Author SHA1 Message Date
Chris Lattner
f436fed412 update some syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68362 91177308-0d34-0410-b5e6-96231b3b80d8
2009-04-03 00:29:19 +00:00
Devang Patel
dd9db66882 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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63400 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-30 18:20:31 +00:00
Misha Brukman
96e0081251 * Comply with HTML 4.01 Strict standard
* Converted absolute links to llvm.org/docs to relative links
* Fixed spelling and s/;/:/, as needed


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61071 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-16 02:54:22 +00:00
Misha Brukman
444087057a Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60880 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-11 17:34:48 +00:00
Devang Patel
a5c05aad57 Document TEST=dbgopt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59839 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-21 19:35:57 +00:00
John Criswell
3d8c358456 Minor spelling and typo fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50448 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-29 22:12:40 +00:00
Evan Cheng
8e34250820 Update llvm.dbg.func.start.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46636 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-01 09:12:11 +00:00
Duncan Sands
41783f0bc7 Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37573 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-14 11:27:07 +00:00
Jim Laskey
c760a920d5 Change e-mail address.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35103 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-14 19:32:21 +00:00
Jim Laskey
44c3b9fdd4 Change the MachineDebugInfo to MachineModuleInfo to better reflect usage
for debugging and exception handling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33550 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-26 21:22:28 +00:00
Jim Laskey
fe793815e0 Update docs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32037 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-30 14:36:22 +00:00
Jim Laskey
5682aff819 Update info on mangled names.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29804 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-21 22:57:31 +00:00
Jim Laskey
4a9df24ba8 Update debugging documents.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29800 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-21 21:21:06 +00:00
Jim Laskey
b329fe1b3c fix typos
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28894 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-21 11:08:10 +00:00
Jim Laskey
094ee721cc add subroutine types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28878 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-20 21:13:20 +00:00
Jim Laskey
76a015e3dc add decimal form of LLVMDebugVersion
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28817 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-16 13:45:38 +00:00
Jim Laskey
7089f45987 1. Revise vector debug support.
2. Update docs for vector debug support and new version control.

3. Simplify serialization of DebugDescInfo subclasses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28816 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-16 13:14:03 +00:00
Jim Laskey
f8a01a9661 1. Support standard dwarf format (was bootstrapping in Apple format.)
2. Add vector support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28807 91177308-0d34-0410-b5e6-96231b3b80d8
2006-06-15 20:51:43 +00:00
Jim Laskey
2d395d9f65 Fixed some grammer and spelling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27062 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 09:20:27 +00:00
Jim Laskey
108a638b5a Correction of stoppoint arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26983 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 17:58:46 +00:00
Jim Laskey
383e0092bf Updated information related to local variables and scopes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26982 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 17:54:33 +00:00
Jim Laskey
3d11beeadd Update doc to reflect changes in subprogram and block descriptors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26783 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-15 19:10:52 +00:00
Jim Laskey
4d9b10b098 Reflect the fact that empty strings can be expressed as null.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26761 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 18:50:50 +00:00
Jim Laskey
cec12a5c30 Bring debugging information up to date.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26759 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 18:08:46 +00:00
Reid Spencer
05fe4b0256 Changes docs for llvm.cs.uiuc.edu -> llvm.org
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26746 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 05:39:39 +00:00
Misha Brukman
94218a7e56 * Straighten a comment to a single line
* Block off the section correctly with <!-- ***** -->


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18721 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-09 20:27:37 +00:00
Misha Brukman
4f5659e829 Remove more smileys. I kept the one in WritingAnLLVMPass because it is actually
funny.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18475 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-04 00:33:34 +00:00
Reid Spencer
d3f876c93c Minor format tweask for tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-01 08:19:36 +00:00
Chris Lattner
cbf1edb875 Fix broken link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15008 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-19 19:30:40 +00:00
Misha Brukman
179bf4bf39 Fix broken internal link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14002 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 23:42:24 +00:00
Misha Brukman
1ed834827a Fix broken internal links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13999 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-03 23:33:10 +00:00
Chris Lattner
7911ce2578 Make use of the new doc_author class. "Seperate content from presentation" they said.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13675 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:07:27 +00:00
Misha Brukman
e849a1ae2d Use the images in the img/ directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13509 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-12 21:26:16 +00:00
Misha Brukman
828737355a Made file comply with HTML-4.01 (Strict)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13503 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-12 19:21:57 +00:00
Chris Lattner
8ff759072f 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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10698 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-06 05:31:32 +00:00
Chris Lattner
bdfb339b8d 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10683 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-05 05:06:33 +00:00