<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm/lib/CodeGen/AsmPrinter, branch testing</title>
<subtitle>http://llvm.org</subtitle>
<id>https://git.amat.us/llvm/atom/lib/CodeGen/AsmPrinter?h=testing</id>
<link rel='self' href='https://git.amat.us/llvm/atom/lib/CodeGen/AsmPrinter?h=testing'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/'/>
<updated>2013-03-18T17:03:05Z</updated>
<entry>
<title>Fix integer comparison in DIEInteger::BestForm.</title>
<updated>2013-03-18T17:03:05Z</updated>
<author>
<name>Hans Wennborg</name>
<email>hans@hanshq.net</email>
</author>
<published>2013-03-18T17:03:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a12c674ee579685e982db008f546681a10cc49a6'/>
<id>urn:sha1:a12c674ee579685e982db008f546681a10cc49a6</id>
<content type='text'>
The always-true "(int)Int == (signed)Int" comparison was found
while experimenting with a potential new Clang warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177290 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>No functionality change. Use unreachable in getCUOffset.</title>
<updated>2013-03-13T18:41:27Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-03-13T18:41:27Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=4c6f895205993b2e724a6025a34d0601135e8b18'/>
<id>urn:sha1:4c6f895205993b2e724a6025a34d0601135e8b18</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176963 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>No functionality change. Use unreachable in getCompileUnit.</title>
<updated>2013-03-13T18:33:41Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-03-13T18:33:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=b1e052aa1b9e52d12831f86a1ee0fcf0c4030f1b'/>
<id>urn:sha1:b1e052aa1b9e52d12831f86a1ee0fcf0c4030f1b</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176962 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Debug Info: use DW_FORM_ref_addr instead of DW_FORM_ref4 if the referenced DIE</title>
<updated>2013-03-12T18:27:15Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-03-12T18:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=bc3e96f17bb278358cd3976f35b87591a392f5af'/>
<id>urn:sha1:bc3e96f17bb278358cd3976f35b87591a392f5af</id>
<content type='text'>
belongs to a different compile unit.

DW_FORM_ref_addr should be used for cross compile-unit reference.

When compiling a large application, we got a dwarfdump verification error where
abstract_origin points to nowhere.

This error can't be reproduced on any testing case in MultiSource.
We may have other cases where we use DW_FORM_ref4 unconditionally.

rdar://problem/13370501


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176882 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Remove support for versioned debug info.</title>
<updated>2013-03-11T23:39:23Z</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2013-03-11T23:39:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=c0ec8a4f4db3c579dfc8c219dc39014f34260b42'/>
<id>urn:sha1:c0ec8a4f4db3c579dfc8c219dc39014f34260b42</id>
<content type='text'>
Versioned debug info support has been a burden to maintain &amp; also compromised
current debug info verification by causing test cases testing old debug info to
remain rather than being updated to the latest. It also makes it hard to add or
change the metadata schema by requiring various backwards-compatibility in the
DI* hierarchy.

So it's being removed in preparation for new changes to the schema to tidy up
old/unnecessary fields and add new fields needed for new debug info (well, new
to LLVM at least).

The more surprising part of this is the changes to DI*::Verify - this became
necessary due to the changes to AsmWriter. AsmWriter was relying on the version
test to decide which bits of metadata were actually debug info when printing
the comment annotations. Without the version information the tag numbers were
too common &amp; it would print debug info on random metadata that happened to
start with an integer that matched a tag number. Instead this change makes the
Verify functions more precise (just adding "number of operands" checks - not
type checking those operands yet) &amp; relies on that to decide which metadata is
debug info metadata.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176838 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Debug Info: store the files and directories for each compile unit.</title>
<updated>2013-03-07T01:42:00Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-03-07T01:42:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=3de61b4c0144748e4b9157e2c22fe4ea685981a2'/>
<id>urn:sha1:3de61b4c0144748e4b9157e2c22fe4ea685981a2</id>
<content type='text'>
We now emit a line table for each compile unit. To reduce the prologue size
of each line table, the files and directories used by each compile unit are
stored in std::map&lt;unsigned, std::vector&lt; &gt; &gt; instead of std::vector&lt; &gt;.

The prologue for a lto'ed image can be as big as 93K. Duplicating 93K for each
compile unit causes a huge increase of debug info. With this patch, each
prologue will only emit the files required by the compile unit.

rdar://problem/13342023


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176605 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Remove unnecessary check against isGlobalVariable. We check it</title>
<updated>2013-02-27T23:49:50Z</updated>
<author>
<name>Eric Christopher</name>
<email>echristo@gmail.com</email>
</author>
<published>2013-02-27T23:49:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=a8ada25afdb74a1cc53c183348ad9a424501dc96'/>
<id>urn:sha1:a8ada25afdb74a1cc53c183348ad9a424501dc96</id>
<content type='text'>
a few lines above.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176224 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Rework comment slightly and fix a few typos.</title>
<updated>2013-02-27T23:49:47Z</updated>
<author>
<name>Eric Christopher</name>
<email>echristo@gmail.com</email>
</author>
<published>2013-02-27T23:49:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=8d45a98eb14338428155be70681a42dccc03a5ce'/>
<id>urn:sha1:8d45a98eb14338428155be70681a42dccc03a5ce</id>
<content type='text'>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176223 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Debug Info: for static member variables, always put AT_MIPS_linkage_name to the</title>
<updated>2013-02-27T23:21:02Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-02-27T23:21:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=21a08a1189df7922de3a89432cf896ed681db5d5'/>
<id>urn:sha1:21a08a1189df7922de3a89432cf896ed681db5d5</id>
<content type='text'>
definition DIE (TAG_variable), and put AT_MIPS_linkage_name to TAG_member when
DarwinGDBCompat is true.

Darwin GDB needs AT_MIPS_linkage_name at both places to work.

Follow-up patch to r176143.
rdar://problem/13291234


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176220 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
<entry>
<title>Debug Info: for static member variables, add AT_MIPS_linkage_name to the</title>
<updated>2013-02-27T00:02:32Z</updated>
<author>
<name>Manman Ren</name>
<email>mren@apple.com</email>
</author>
<published>2013-02-27T00:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/llvm/commit/?id=06df83c25a7b07b3a19a40bd680c0a205bcc0b9a'/>
<id>urn:sha1:06df83c25a7b07b3a19a40bd680c0a205bcc0b9a</id>
<content type='text'>
definition DIE, to make old GDB happy.

We have a regression for old GDB when Clang uses DW_TAG_member to declare
static members inside a class, instead of DW_TAG_variable. This patch will fix
this regression.

rdar://problem/13291234


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176143 91177308-0d34-0410-b5e6-96231b3b80d8
</content>
</entry>
</feed>
