<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/docs/SourceLevelDebugging.html, branch release_25</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/docs/SourceLevelDebugging.html?h=release_25</id>
<link rel='self' href='https://git.amat.us/llvm/atom/docs/SourceLevelDebugging.html?h=release_25'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2009-01-30T18:20:31Z</updated>
<entry>
<title> Each input file is encoded as a separate compile unit in LLVM debugging</title>
<updated>2009-01-30T18:20:31Z</updated>
<author>
<name>Devang Patel</name>
<email>dpatel@apple.com</email>
</author>
<published>2009-01-30T18:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=dd9db6688283639a0c95f8ed67beb1bd54b5fff4'/>
<id>urn:sha1:dd9db6688283639a0c95f8ed67beb1bd54b5fff4</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>* Comply with HTML 4.01 Strict standard</title>
<updated>2008-12-16T02:54:22Z</updated>
<author>
<name>Misha Brukman</name>
<email>brukman+llvm@gmail.com</email>
</author>
<published>2008-12-16T02:54:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=96e0081251c01e96158e655316ef46b70d2a43fa'/>
<id>urn:sha1:96e0081251c01e96158e655316ef46b70d2a43fa</id>
<content type='text'>
* 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
</content>
</entry>
<entry>
<title>Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.</title>
<updated>2008-12-11T17:34:48Z</updated>
<author>
<name>Misha Brukman</name>
<email>brukman+llvm@gmail.com</email>
</author>
<published>2008-12-11T17:34:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=444087057ad0592f3e0bb2e434e0b610aa7914f6'/>
<id>urn:sha1:444087057ad0592f3e0bb2e434e0b610aa7914f6</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60880 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Document TEST=dbgopt</title>
<updated>2008-11-21T19:35:57Z</updated>
<author>
<name>Devang Patel</name>
<email>dpatel@apple.com</email>
</author>
<published>2008-11-21T19:35:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a5c05aad57556eee4cea43f33234312320a0a219'/>
<id>urn:sha1:a5c05aad57556eee4cea43f33234312320a0a219</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59839 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Minor spelling and typo fixes.</title>
<updated>2008-04-29T22:12:40Z</updated>
<author>
<name>John Criswell</name>
<email>criswell@uiuc.edu</email>
</author>
<published>2008-04-29T22:12:40Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3d8c358456572d1722ee0ac8e3609299d0373302'/>
<id>urn:sha1:3d8c358456572d1722ee0ac8e3609299d0373302</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50448 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Update llvm.dbg.func.start.</title>
<updated>2008-02-01T09:12:11Z</updated>
<author>
<name>Evan Cheng</name>
<email>evan.cheng@apple.com</email>
</author>
<published>2008-02-01T09:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=8e3425082079e83a43b1c60e921ce7db00f17ddc'/>
<id>urn:sha1:8e3425082079e83a43b1c60e921ce7db00f17ddc</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46636 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Fix typos.</title>
<updated>2007-06-14T11:27:07Z</updated>
<author>
<name>Duncan Sands</name>
<email>baldrick@free.fr</email>
</author>
<published>2007-06-14T11:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=41783f0bc7cc9618b55fb0e7c4438b35dcd7194c'/>
<id>urn:sha1:41783f0bc7cc9618b55fb0e7c4438b35dcd7194c</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37573 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Change e-mail address.</title>
<updated>2007-03-14T19:32:21Z</updated>
<author>
<name>Jim Laskey</name>
<email>jlaskey@mac.com</email>
</author>
<published>2007-03-14T19:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c760a920d5e8cdc47677e44ac53d062ddd63f481'/>
<id>urn:sha1:c760a920d5e8cdc47677e44ac53d062ddd63f481</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35103 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Change the MachineDebugInfo to MachineModuleInfo to better reflect usage</title>
<updated>2007-01-26T21:22:28Z</updated>
<author>
<name>Jim Laskey</name>
<email>jlaskey@mac.com</email>
</author>
<published>2007-01-26T21:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=44c3b9fdd416c79f4b67cde1aecfced5921efd81'/>
<id>urn:sha1:44c3b9fdd416c79f4b67cde1aecfced5921efd81</id>
<content type='text'>
for debugging and exception handling.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33550 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Update docs</title>
<updated>2006-11-30T14:36:22Z</updated>
<author>
<name>Jim Laskey</name>
<email>jlaskey@mac.com</email>
</author>
<published>2006-11-30T14:36:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=fe793815e07be38f7c7c52812bbc65e290037503'/>
<id>urn:sha1:fe793815e07be38f7c7c52812bbc65e290037503</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32037 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
