<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/test/Bitcode/DIGlobalVariableExpression2.ll, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>Canonicalize the representation of empty an expression in DIGlobalVariableExpression</title>
<updated>2017-08-30T18:06:51+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2017-08-30T18:06:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=05782218abd549e0c1bc77032fa9b55526371cfd'/>
<id>05782218abd549e0c1bc77032fa9b55526371cfd</id>
<content type='text'>
This change simplifies code that has to deal with
DIGlobalVariableExpression and mirrors how we treat DIExpressions in
debug info intrinsics. Before this change there were two ways of
representing empty expressions on globals, a nullptr and an empty
!DIExpression().

If someone needs to upgrade out-of-tree testcases:
  perl -pi -e 's/(!DIGlobalVariableExpression\(var: ![0-9]*)\)/\1, expr: !DIExpression())/g' &lt;MYTEST.ll&gt;
will catch 95%.

llvm-svn: 312144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change simplifies code that has to deal with
DIGlobalVariableExpression and mirrors how we treat DIExpressions in
debug info intrinsics. Before this change there were two ways of
representing empty expressions on globals, a nullptr and an empty
!DIExpression().

If someone needs to upgrade out-of-tree testcases:
  perl -pi -e 's/(!DIGlobalVariableExpression\(var: ![0-9]*)\)/\1, expr: !DIExpression())/g' &lt;MYTEST.ll&gt;
will catch 95%.

llvm-svn: 312144
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bitcode upgrade for DIGlobalVariables with a var: field.</title>
<updated>2017-02-08T17:44:43+00:00</updated>
<author>
<name>Adrian Prantl</name>
<email>aprantl@apple.com</email>
</author>
<published>2017-02-08T17:44:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a5bf2d7003928e5ada8e22d4bbf0c776633eecab'/>
<id>a5bf2d7003928e5ada8e22d4bbf0c776633eecab</id>
<content type='text'>
This is a follow-up to https://reviews.llvm.org/D29349.  It turns out
that NeedUpgradeToDIGlobalVariableExpression is always necessary when
we encountered a version==0 record because it may always be referenced
via a list of globals in a DICompileUnit. My tests weren't good enough
to catch this though. To trigger this case, we need much older bitcode
produced by LLVM around version 3.7.

&lt;rdar://problem/30404262&gt;

Differential Revision: https://reviews.llvm.org/D29693

llvm-svn: 294488
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a follow-up to https://reviews.llvm.org/D29349.  It turns out
that NeedUpgradeToDIGlobalVariableExpression is always necessary when
we encountered a version==0 record because it may always be referenced
via a list of globals in a DICompileUnit. My tests weren't good enough
to catch this though. To trigger this case, we need much older bitcode
produced by LLVM around version 3.7.

&lt;rdar://problem/30404262&gt;

Differential Revision: https://reviews.llvm.org/D29693

llvm-svn: 294488
</pre>
</div>
</content>
</entry>
</feed>
