<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/llvm/lib/MC/MCCodeView.cpp, 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>2019-05-31T22:55:03+00:00</updated>
<entry>
<title>[codeview] Revert inline line table change of r362264</title>
<updated>2019-05-31T22:55:03+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2019-05-31T22:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=eddd6c25b567bf2b75b38e9e09b80f69f87d7017'/>
<id>urn:sha1:eddd6c25b567bf2b75b38e9e09b80f69f87d7017</id>
<content type='text'>
Testing with debuggers shows that our previous behavior was correct.
The reason I thought MSVC did things differently is that MSVC prefers to
use the 0xB combined code offset and code length update opcode when
inline sites are discontiguous.

Keep the test changes, and update the llvm-pdbutil inline line table
dumper to account for this new interpretation of the opcodes.

llvm-svn: 362277
</content>
</entry>
<entry>
<title>[codeview] Fix inline line table accuracy for discontiguous segments</title>
<updated>2019-05-31T20:55:31+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2019-05-31T20:55:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e98cf5fe47f2585363588d7cdd19c5bfe57f2c13'/>
<id>urn:sha1:e98cf5fe47f2585363588d7cdd19c5bfe57f2c13</id>
<content type='text'>
After improving the inline line table dumper in llvm-pdbutil and looking
at MSVC's inline line tables, it is clear that setting the length of the
inlined code region does not update the code offset. This means that the
delta to the beginning of a new discontiguous inlined code region should
be calculated relative to the last code offset, excluding the length.
Implementing this is a one line fix for MC: simply don't update
LastLabel.

While I'm updating these test cases, switch them to use llvm-objdump -d
and llvm-pdbutil. This allows us to show offsets of each instruction and
correlate the line table offsets to the actual code.

llvm-svn: 362264
</content>
</entry>
<entry>
<title>Update the file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T08:50:56+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T08:50:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2946cd701067404b99c39fb29dc9c74bd7193eb3'/>
<id>urn:sha1:2946cd701067404b99c39fb29dc9c74bd7193eb3</id>
<content type='text'>
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351636
</content>
</entry>
<entry>
<title>[codeview] Flush labels before S_DEFRANGE* fragments</title>
<updated>2018-12-17T21:49:35+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2018-12-17T21:49:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=94ee0728e5e8665821ecfc20c2441e4bfc4e0bf2'/>
<id>urn:sha1:94ee0728e5e8665821ecfc20c2441e4bfc4e0bf2</id>
<content type='text'>
This was a pre-existing bug that could be triggered with assembly like
this:
  .p2align 2
  .LtmpN:
  .cv_def_range "..."

I noticed this when attempting to change clang to emit aligned symbol
records.

llvm-svn: 349403
</content>
</entry>
<entry>
<title>[codeview] Clean up machinery for deferring .cv_loc emission</title>
<updated>2018-08-28T23:25:59+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2018-08-28T23:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=689f7733173c4a7757f10bc7442905c18274f288'/>
<id>urn:sha1:689f7733173c4a7757f10bc7442905c18274f288</id>
<content type='text'>
Now that we create the label at the point of the directive, we don't
need to set the "current CV location", and then later when we emit the
next instruction, create a label for it and emit it.

DWARF still defers the labels used in .debug_loc until the next
instruction or value, for reasons unknown.

llvm-svn: 340883
</content>
</entry>
<entry>
<title>Support: Simplify endian stream interface. NFCI.</title>
<updated>2018-05-18T19:46:24+00:00</updated>
<author>
<name>Peter Collingbourne</name>
<email>peter@pcc.me.uk</email>
</author>
<published>2018-05-18T19:46:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e3f652973e6e4fb7074b0bdc2291493e6cb8fae5'/>
<id>urn:sha1:e3f652973e6e4fb7074b0bdc2291493e6cb8fae5</id>
<content type='text'>
Provide some free functions to reduce verbosity of endian-writing
a single value, and replace the endianness template parameter with
a field.

Part of PR37466.

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

llvm-svn: 332757
</content>
</entry>
<entry>
<title>[codeview] Ignore .cv_loc directives at the end of a function</title>
<updated>2018-04-25T23:34:15+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2018-04-25T23:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2c6430fe3c2005a60680b72a52bfb4e81ca841ee'/>
<id>urn:sha1:2c6430fe3c2005a60680b72a52bfb4e81ca841ee</id>
<content type='text'>
If no data or instructions are emitted after a location directive, we
should clear the cv_loc when we change sections, or it will be emitted
at the beginning of the next section. This violates our invariant that
all .cv_loc directives belong to the same section. Add clearer
assertions for this.

llvm-svn: 330884
</content>
</entry>
<entry>
<title>[CodeView] Add line numbers for inlined call sites</title>
<updated>2018-01-18T22:55:43+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2018-01-18T22:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7897a789e7f138f928e3a9fecbb709ee043b44fe'/>
<id>urn:sha1:7897a789e7f138f928e3a9fecbb709ee043b44fe</id>
<content type='text'>
We did this for inline call site line tables, but we hadn't done it for
regular function line tables yet. This patch copies that logic from
encodeInlineLineTable.

llvm-svn: 322905
</content>
</entry>
<entry>
<title>[CodeView] Sink complex inline functions to .cpp file, NFC</title>
<updated>2018-01-18T22:55:14+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2018-01-18T22:55:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b5258722889112188d255140654163fdd4e1fbe7'/>
<id>urn:sha1:b5258722889112188d255140654163fdd4e1fbe7</id>
<content type='text'>
I'm cleaning up this code before I attempt to fix a line table bug.

llvm-svn: 322904
</content>
</entry>
<entry>
<title>MC: Remove redundant `SetUsed` arguments in MCSymbol methods</title>
<updated>2018-01-12T18:05:40+00:00</updated>
<author>
<name>Sam Clegg</name>
<email>sbc@chromium.org</email>
</author>
<published>2018-01-12T18:05:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5e102eeee6ef0b6da3a4d683469e9954c000a09c'/>
<id>urn:sha1:5e102eeee6ef0b6da3a4d683469e9954c000a09c</id>
<content type='text'>
We can probably take this a step further since the only
user of the isUsed flag is AsmParser it should probably
be doing this explicitly. For now this is a step in the
right direction though.

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

llvm-svn: 322386
</content>
</entry>
</feed>
