<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/test/DebugInfo/X86, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-02-12T13:06:29+00:00</updated>
<entry>
<title>Revert "[DebugInfo] Remove some users of DBG_VALUEs IsIndirect field"</title>
<updated>2020-02-12T13:06:29+00:00</updated>
<author>
<name>Jeremy Morse</name>
<email>jeremy.morse@sony.com</email>
</author>
<published>2020-02-05T17:27:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4eb45a05a78f7c80bbec0453bc225deebec06209'/>
<id>urn:sha1:4eb45a05a78f7c80bbec0453bc225deebec06209</id>
<content type='text'>
This reverts commit ed29dbaafa49bb8c9039a35f768244c394411fea.

I'm backing out D68945, which as the discussion for D73526 shows, doesn't
seem to handle the -O0 path through the codegen backend correctly. I'll
reland the patch when a fix is worked out, apologies for all the churn.
The two parent commits are part of this revert too.

Conflicts:
	llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
	llvm/test/DebugInfo/X86/dbg-addr-dse.ll

SelectionDAGBuilder conflict is due to a nearby change in e39e2b4a79c6
that's technically unrelated. dbg-addr-dse.ll conflicted because
41206b61e30c (legitimately) changes the order of two lines.

There are further modifications to dbg-value-func-arg.ll: it landed after
the patch being reverted, and I've converted indirection to be represented
by the isIndirect field rather than DW_OP_deref.

(cherry picked from commit 6531a78ac4b5b229bce272706593a0bc873877d7)
</content>
</entry>
<entry>
<title>Revert "[DebugInfo][DAG] Distinguish different kinds of location indirection"</title>
<updated>2020-02-12T13:06:19+00:00</updated>
<author>
<name>Jeremy Morse</name>
<email>jeremy.morse@sony.com</email>
</author>
<published>2020-02-05T16:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=04d7337d69fa38f00179811419207a9ef5eef83e'/>
<id>urn:sha1:04d7337d69fa38f00179811419207a9ef5eef83e</id>
<content type='text'>
This reverts commit 3137fe4d23eeb8df08c03e9111465325eeafe08e.

I'm backing out D68945, which this patch is a follow up for. It'll be
re-landed when D68945 is fixed.

The changes to dbg-value-func-arg.ll occur because our handling of certain
kinds of location now mixes up indirection that happens at different points
in a DIExpression. While this is a regression, it's a return to the prior
behaviour while a better patch is sought.

(cherry picked from commit ece761427f63de96ee52bbd6be1c61b07967a917)
</content>
</entry>
<entry>
<title>[DebugInfo] Re-instate LiveDebugVariables scope trimming</title>
<updated>2020-02-12T13:04:24+00:00</updated>
<author>
<name>Jeremy Morse</name>
<email>jeremy.morse@sony.com</email>
</author>
<published>2020-02-04T14:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c1701728b93b3aec39d3b93d0182648887edfdb1'/>
<id>urn:sha1:c1701728b93b3aec39d3b93d0182648887edfdb1</id>
<content type='text'>
This patch reverts part of r362750 / D62650, which stopped
LiveDebugVariables from trimming leading variable location ranges down
to only covering those instructions that are in scope. I've observed some
circumstances where the number of DBG_VALUEs in a function can be
amplified in an un-necessary way, to cover more instructions that are
out of scope, leading to very slow compile times. Trimming the range
of instructions that the variables cover solves the slow compile times.

The specific problem that r362750 tries to fix is addressed by the
assignment to RStart that I've added. Any variable location that begins
at the first instruction of a block will now be considered to begin at the
start of the block. While these sound the same, the have different
SlotIndexes, and the register allocator may shoehorn additional
instructions in between the two. The test added in the past
(wrong_debug_loc_after_regalloc.ll) still works with this modification.

live-debug-variables.ll has a range trimmed to not cover the prologue of
the function, while dbg-addr-dse.ll has a DBG_VALUE sink past one
instruction with no DebugLoc, which is expected behaviour.

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

(cherry picked from commit 41206b61e30c3d84188cb17b91c2c0c800982dd1)
</content>
</entry>
<entry>
<title>Revert "Reland: [DWARF] Allow cross-CU references of subprogram definitions"</title>
<updated>2020-01-29T21:18:16+00:00</updated>
<author>
<name>Vedant Kumar</name>
<email>vsk@apple.com</email>
</author>
<published>2020-01-25T02:07:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b516ca061838e2cb8b48b31ee113e3c4aae7e7d5'/>
<id>urn:sha1:b516ca061838e2cb8b48b31ee113e3c4aae7e7d5</id>
<content type='text'>
... as well as:
Revert "[DWARF] Defer creating declaration DIEs until we prepare call site info"

This reverts commit fa4701e1979553c2df61698ac1ac212627630442.

This reverts commit 79daafc90308787b52a5d3a7586e82acd5e374b3.

There have been reports of this assert getting hit:

CalleeDIE &amp;&amp; "Could not find DIE for call site entry origin

(cherry picked from commit 802bec896171997a7b73dde3857712e0eedeabc1)
</content>
</entry>
<entry>
<title>[DebugInfo][test] Change two MIR tests to use -start-before=livedebugvalues instead of -start-after=patchable-function</title>
<updated>2020-01-24T21:03:02+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2020-01-19T07:12:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d11abddb32f6475441872ed19e0e3091d7d7f087'/>
<id>urn:sha1:d11abddb32f6475441872ed19e0e3091d7d7f087</id>
<content type='text'>
To break order dependency between livedebugvalues and patchable-function.

(cherry picked from commit 26ba1f77b55e7a961acc05d94bfa4b677a9e5d83)
</content>
</entry>
<entry>
<title>Revert "[DWARF5][DebugInfo]: Added support for DebugInfo generation for auto return type for C++ member functions."</title>
<updated>2020-01-13T21:58:14+00:00</updated>
<author>
<name>Amy Huang</name>
<email>akhuang@google.com</email>
</author>
<published>2020-01-13T21:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=328e0f3dcac52171b8cdedeaba22c98e7fbb75ea'/>
<id>urn:sha1:328e0f3dcac52171b8cdedeaba22c98e7fbb75ea</id>
<content type='text'>
This reverts commit c958639098a8702b831952b1a1a677ae19190a55, which
causes a crash. See https://reviews.llvm.org/D70524 for details.
</content>
</entry>
<entry>
<title>[DWARF5][DebugInfo]: Added support for DebugInfo generation for auto return type for C++ member functions.</title>
<updated>2020-01-13T06:56:13+00:00</updated>
<author>
<name>Awanish Pandey</name>
<email>Awanish.Pandey@amd.com</email>
</author>
<published>2020-01-13T06:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c958639098a8702b831952b1a1a677ae19190a55'/>
<id>urn:sha1:c958639098a8702b831952b1a1a677ae19190a55</id>
<content type='text'>
Summary:
This patch will provide support for auto return type for the C++ member
functions. Before this return type of the member function is deduced and
stored in the DIE.
This patch includes llvm side implementation of this feature.

Patch by: Awanish Pandey &lt;Awanish.Pandey@amd.com&gt;

Reviewers: dblaikie, aprantl, shafik, alok, SouraVX, jini.susan.george

Reviewed by: dblaikie

Differential Revision: https://reviews.llvm.org/D70524
</content>
</entry>
<entry>
<title>Revert "DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization"</title>
<updated>2019-12-31T06:33:35+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2019-12-31T06:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b350c666ab65b7585bc58301b03d2b46dc6b0504'/>
<id>urn:sha1:b350c666ab65b7585bc58301b03d2b46dc6b0504</id>
<content type='text'>
Seeing some curious CFI failures internally - which makes little sense
to me, as I don't think anyone is using this flag (even us,
internally)... so sounds like a bug in my code somewhere (possibly a
latent one that propagating this flag exposed, not sure). Reverting
while I investigate.

This reverts commit c51b45e32ef7f35c11891f60871aa9c2c04cd991.
</content>
</entry>
<entry>
<title>DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization</title>
<updated>2019-12-28T01:26:14+00:00</updated>
<author>
<name>David Blaikie</name>
<email>dblaikie@gmail.com</email>
</author>
<published>2019-12-28T01:18:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=c51b45e32ef7f35c11891f60871aa9c2c04cd991'/>
<id>urn:sha1:c51b45e32ef7f35c11891f60871aa9c2c04cd991</id>
<content type='text'>
Follow-up to r346788 review feedback from Adrian Prantl.
</content>
</entry>
<entry>
<title>[DebugInfo][SelectionDAG] Change order while transferring SDDbgValue to another node</title>
<updated>2019-12-26T18:01:59+00:00</updated>
<author>
<name>Kristina Bessonova</name>
<email>kbessonova@accesssoftek.com</email>
</author>
<published>2019-12-05T20:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=cdd25a4c7410d9af69df4ebe0e640506b8e977b4'/>
<id>urn:sha1:cdd25a4c7410d9af69df4ebe0e640506b8e977b4</id>
<content type='text'>
SelectionDAG::transferDbgValues() can 'reattach' SDDbgValue from one to
another node, but doesn't change its source order. If the destination node has
the order greater than the SDDbgValue, there are two possible issues
revealed later:

* If debug info is attached to an instruction that is the first definition
of a register, this ends up with a def-after-use and the debug info
gets 'undef' later.

* If MIR has another definition of a register above the debug info,
the debug info may represent a source variable incorrectly because
it appears (significantly) before an instruction corresponded
to this debug info.

So, the patch changes the order of an SDDbgValue when it is moved
to a node with greater order.

Reviewers: dblaikie, jmorse, aprantl

Reviewed By: aprantl

Subscribers: aprantl, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71175
</content>
</entry>
</feed>
