<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/lld/lib/ReaderWriter/MachO, 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-01-06T18:25:48+00:00</updated>
<entry>
<title>[lld] Fix trivial typos in comments</title>
<updated>2020-01-06T18:25:48+00:00</updated>
<author>
<name>Kazuaki Ishizaki</name>
<email>ishizaki@jp.ibm.com</email>
</author>
<published>2020-01-06T18:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7ae3d335467a24faa80ebd9b31446c649570ca0c'/>
<id>urn:sha1:7ae3d335467a24faa80ebd9b31446c649570ca0c</id>
<content type='text'>
Reviewed By: ruiu, MaskRay

Differential Revision: https://reviews.llvm.org/D72196
</content>
</entry>
<entry>
<title>[lld] Fix -Wrange-loop-analysis warnings</title>
<updated>2020-01-01T23:41:20+00:00</updated>
<author>
<name>Fangrui Song</name>
<email>maskray@google.com</email>
</author>
<published>2020-01-01T23:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=681b1be774964a804beabfb7c5e3bdab8f979e4a'/>
<id>urn:sha1:681b1be774964a804beabfb7c5e3bdab8f979e4a</id>
<content type='text'>
One instance looks like a false positive:

lld/ELF/Relocations.cpp:1622:14: note: use reference type 'const std::pair&lt;ThunkSection *, uint32_t&gt; &amp;' (aka 'cons
t pair&lt;lld::elf::ThunkSection *, unsigned int&gt; &amp;') to prevent copying
        for (const std::pair&lt;ThunkSection *, uint32_t&gt; ts : isd-&gt;thunkSections)

It is not changed in this commit.
</content>
</entry>
<entry>
<title>[MachO] Fix detecting malformed DWARF.</title>
<updated>2019-12-17T08:03:23+00:00</updated>
<author>
<name>Igor Kudrin</name>
<email>ikudrin@accesssoftek.com</email>
</author>
<published>2019-12-16T14:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5279f96577af1457a973c071ec5ee3554c9f6cbe'/>
<id>urn:sha1:5279f96577af1457a973c071ec5ee3554c9f6cbe</id>
<content type='text'>
This fixes an invalid constant used to detect the reserved range when
reading the compilation unit header. See also: D64622 and D65039.

Differential Revision: https://reviews.llvm.org/D71546
</content>
</entry>
<entry>
<title>Fix component build</title>
<updated>2019-11-19T02:20:52+00:00</updated>
<author>
<name>Rui Ueyama</name>
<email>ruiu@google.com</email>
</author>
<published>2019-11-19T02:16:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d0371f473675ede1d79a615ec4fdf0cf5368944c'/>
<id>urn:sha1:d0371f473675ede1d79a615ec4fdf0cf5368944c</id>
<content type='text'>
b11386f9be9b2dc7276a758d64f66833da10bdea broke lld build
if `-DBUILD_SHARED_LIBS=ON` is passed to CMake.
</content>
</entry>
<entry>
<title>Make it possible to redirect not only errs() but also outs()</title>
<updated>2019-11-18T02:18:06+00:00</updated>
<author>
<name>Rui Ueyama</name>
<email>ruiu@google.com</email>
</author>
<published>2019-11-15T05:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=b11386f9be9b2dc7276a758d64f66833da10bdea'/>
<id>urn:sha1:b11386f9be9b2dc7276a758d64f66833da10bdea</id>
<content type='text'>
This change is for those who use lld as a library. Context:
https://reviews.llvm.org/D70287

This patch adds a new parmeter to lld::*::link() so that we can pass
an raw_ostream object representing stdout. Previously, lld::*::link()
took only an stderr object.

Justification for making stdoutOS and stderrOS mandatory: I wanted to
make link() functions to take stdout and stderr in that order.
However, if we change the function signature from

  bool link(ArrayRef&lt;const char *&gt; args, bool canExitEarly,
            raw_ostream &amp;stderrOS = llvm::errs());

to

  bool link(ArrayRef&lt;const char *&gt; args, bool canExitEarly,
            raw_ostream &amp;stdoutOS = llvm::outs(),
            raw_ostream &amp;stderrOS = llvm::errs());

, then the meaning of existing code that passes stderrOS silently
changes (stderrOS would be interpreted as stdoutOS). So, I chose to
make existing code not to compile, so that developers can fix their
code.

Differential Revision: https://reviews.llvm.org/D70292
</content>
</entry>
<entry>
<title>Move endian constant from Host.h to SwapByteOrder.h, prune include</title>
<updated>2019-10-19T00:48:11+00:00</updated>
<author>
<name>Reid Kleckner</name>
<email>rnk@google.com</email>
</author>
<published>2019-10-19T00:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=90c64a3456b972432a21ef043b205c18a91e011b'/>
<id>urn:sha1:90c64a3456b972432a21ef043b205c18a91e011b</id>
<content type='text'>
Works on this dependency chain:
  ArrayRef.h -&gt;
  Hashing.h -&gt; --CUT--
  Host.h -&gt;
  StringMap.h / StringRef.h

ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.

llvm-svn: 375316
</content>
</entry>
<entry>
<title>[lld][mach-o] Avoid segfaulting when handling an empty section list.</title>
<updated>2019-09-26T17:03:20+00:00</updated>
<author>
<name>Matt Davis</name>
<email>nullptr@fb.com</email>
</author>
<published>2019-09-26T17:03:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=4d17cdc704db1da4da9f76adb301db88d8e7bdf4'/>
<id>urn:sha1:4d17cdc704db1da4da9f76adb301db88d8e7bdf4</id>
<content type='text'>
Summary:
The following patch avoids segfaulting if the section list is empty when writing a mach-o MH_OBJECT.  I ran into this case from a more complicated example trying to dead_strip while using '-r' in lld.

I'm not sure if having empty sections is a legal mach-o, but it does seem that other llvm-binutils tools can ingest such a boring object with out issue.  Would it be better to emit an error, emit a warning, or do nothing?  It seems that adding a warning diagnostic might be helpful to users, as I did not expect to have a section-less object when the linker was done.

Reviewers: kledzik, ruiu

Subscribers: llvm-commits, jrm

Tags: #lld, #llvm

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

llvm-svn: 372995
</content>
</entry>
<entry>
<title>[mach-o] Extend LC_DATA_IN_CODE support to x86_64</title>
<updated>2019-08-28T10:11:50+00:00</updated>
<author>
<name>Rui Ueyama</name>
<email>ruiu@google.com</email>
</author>
<published>2019-08-28T10:11:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=91864f82c7d7bd1a151fdfd076a3a67a2893b868'/>
<id>urn:sha1:91864f82c7d7bd1a151fdfd076a3a67a2893b868</id>
<content type='text'>
Patch by LemonBoy

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

llvm-svn: 370183
</content>
</entry>
<entry>
<title>[LLD] Migrate llvm::make_unique to std::make_unique</title>
<updated>2019-08-14T22:28:17+00:00</updated>
<author>
<name>Jonas Devlieghere</name>
<email>jonas@devlieghere.com</email>
</author>
<published>2019-08-14T22:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6ba7992031cc803a01f0622f4899668b15a20a98'/>
<id>urn:sha1:6ba7992031cc803a01f0622f4899668b15a20a98</id>
<content type='text'>
Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances across the monorepo.

Differential revision: https://reviews.llvm.org/D66259

llvm-svn: 368936
</content>
</entry>
<entry>
<title>[MachO] Update LLD to use 64-bit offsets with DataExtractor (3/5)</title>
<updated>2019-08-06T13:37:34+00:00</updated>
<author>
<name>Igor Kudrin</name>
<email>ikudrin@accesssoftek.com</email>
</author>
<published>2019-08-06T13:37:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5978c9249bbfc544814621234504fc55fc4d3d18'/>
<id>urn:sha1:5978c9249bbfc544814621234504fc55fc4d3d18</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D65639

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