<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustllvm/RustWrapper.cpp, branch 1.41.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.41.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.41.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-12-04T20:00:28+00:00</updated>
<entry>
<title>Migrate to LLVM{Get,Set}ValueName2</title>
<updated>2019-12-04T20:00:28+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-12-04T20:00:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=16d21783d63c9ff89742ab83c2d02d25307c262c'/>
<id>urn:sha1:16d21783d63c9ff89742ab83c2d02d25307c262c</id>
<content type='text'>
The deprecated `LLVM{Get,Set}ValueName` only work with NUL-terminated
strings, but the `2` variants use explicit lengths, which fits better
with Rust strings and slices. We now use these in new helper functions
`llvm::{get,set}_value_name` that convert to/from `&amp;[u8]`.
</content>
</entry>
<entry>
<title>Update the minimum external LLVM to 7</title>
<updated>2019-12-02T19:36:21+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-12-02T19:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2304c25f31fb69c279110ecaf51627cc36bffd55'/>
<id>urn:sha1:2304c25f31fb69c279110ecaf51627cc36bffd55</id>
<content type='text'>
LLVM 7 is over a year old, which should be plenty for compatibility. The
last LLVM 6 holdout was llvm-emscripten, which went away in #65501.

I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`,
which was broken by #66522.
</content>
</entry>
<entry>
<title>Add FFI bindings for Module::getInstructionCount()</title>
<updated>2019-11-02T14:28:05+00:00</updated>
<author>
<name>Simon Heath</name>
<email>icefox@dreamquest.io</email>
</author>
<published>2019-10-23T13:08:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=567962d22090bbd23c1c3dc0e04229ac8c681ea8'/>
<id>urn:sha1:567962d22090bbd23c1c3dc0e04229ac8c681ea8</id>
<content type='text'>
Just to make it useable for profiling and such inside
rustc itself.  It was vaguely useful in
https://wiki.alopex.li/WhereRustcSpendsItsTime and I figured
I might as well upstream it; I may or may not ever get around
to doing more with it (hopefully I will), but it may be useful
for others.
</content>
</entry>
<entry>
<title>Pass type to byval attributes</title>
<updated>2019-07-09T19:55:29+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-07-06T19:52:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=eb338220911fbcf0661e4f8802b23d0bd4e5d077'/>
<id>urn:sha1:eb338220911fbcf0661e4f8802b23d0bd4e5d077</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the unused LLVMRustIsRustLLVM</title>
<updated>2019-04-18T22:28:18+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-04-18T22:28:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a1099ae73ea0fdd9b82329aaf64a977c44a7595e'/>
<id>urn:sha1:a1099ae73ea0fdd9b82329aaf64a977c44a7595e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Start implementing compat with LLVM 9</title>
<updated>2019-04-05T15:10:18+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2019-04-04T20:05:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d5985bc9ecbdc792d514cf531107d33f85644fdc'/>
<id>urn:sha1:d5985bc9ecbdc792d514cf531107d33f85644fdc</id>
<content type='text'>
This commit doesn't actually migrate to LLVM 9, but it brings our own
C++ bindings in line with LLVM 9 and able to compile against tip of
tree. The changes made were:

* The `MainSubprogram` flag for debuginfo moved between flag types.
* Iteration of archive members was tweaked slightly and we have to
  construct the two iterators before constructing the returned
  `RustArchiveIterator` value.
* The `getOrInsertFunction` binding now returns a wrapper which we use
  `getCallee()` on to get the value we're interested in.
</content>
</entry>
<entry>
<title>Implement ffi_returns_twice attribute</title>
<updated>2019-02-23T14:48:40+00:00</updated>
<author>
<name>gnzlbg</name>
<email>gonzalobg88@gmail.com</email>
</author>
<published>2019-02-09T14:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4b46ace556f3e4776d06ea7672daba6b243a80f'/>
<id>urn:sha1:c4b46ace556f3e4776d06ea7672daba6b243a80f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #55641 - nagisa:optimize-attr, r=pnkfelix</title>
<updated>2019-01-26T07:08:18+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2019-01-26T07:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42eb5ff4042236ec3635035332e059afa7d63f9d'/>
<id>urn:sha1:42eb5ff4042236ec3635035332e059afa7d63f9d</id>
<content type='text'>
Implement optimize(size) and optimize(speed) attributes

This PR implements both `optimize(size)` and `optimize(speed)` attributes.

While the functionality itself works fine now, this PR is not yet complete: the code might be messy in places and, most importantly, the compiletest must be improved with functionality to run tests with custom optimization levels. Otherwise the new attribute cannot be tested properly. Oh, and not all of the RFC is implemented – attribute propagation is not implemented for example.

# TODO

* [x] Improve compiletest so that tests can be written;
* [x] Assign a proper error number (E9999 currently, no idea how to allocate a number properly);
* [ ] Perhaps reduce the duplication in LLVM attribute assignment code…
</content>
</entry>
<entry>
<title>Set the DICompileUnit emissionKind</title>
<updated>2019-01-25T23:39:54+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-01-22T21:01:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cff075009032d11cff3a625663cf460e71e81609'/>
<id>urn:sha1:cff075009032d11cff3a625663cf460e71e81609</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rebase to the llvm-project monorepo</title>
<updated>2019-01-25T23:39:54+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2019-01-16T17:59:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df0466d0bb807a7266cc8ac9931cd43b3e84b62e'/>
<id>urn:sha1:df0466d0bb807a7266cc8ac9931cd43b3e84b62e</id>
<content type='text'>
The new git submodule src/llvm-project is a monorepo replacing src/llvm
and src/tools/{clang,lld,lldb}.  This also serves as a rebase for these
projects to the new 8.x branch from trunk.

The src/llvm-emscripten fork is unchanged for now.
</content>
</entry>
</feed>
