<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustllvm/RustWrapper.cpp, branch 1.34.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-02-23T14:48:40+00:00</updated>
<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>
<entry>
<title>Implement optimize(size) and optimize(speed)</title>
<updated>2019-01-24T18:13:50+00:00</updated>
<author>
<name>Simonas Kazlauskas</name>
<email>git@kazlauskas.me</email>
</author>
<published>2018-10-27T12:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f38d0da89389c45067d37ba15e783c024088a09a'/>
<id>urn:sha1:f38d0da89389c45067d37ba15e783c024088a09a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump minimum required LLVM version to 6.0</title>
<updated>2018-12-09T11:05:40+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2018-12-09T10:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=706e67b0a0143d651eb03f2fa2c30645899e81ff'/>
<id>urn:sha1:706e67b0a0143d651eb03f2fa2c30645899e81ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #55010 - tromey:Bug-9224-generic-parameters, r=michaelwoerister</title>
<updated>2018-12-03T11:59:11+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-12-03T11:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9cd3bef4cfaaac2a608682d4b0834cda344249e0'/>
<id>urn:sha1:9cd3bef4cfaaac2a608682d4b0834cda344249e0</id>
<content type='text'>
Add template parameter debuginfo to generic types

This changes debuginfo generation to add template parameters to
generic types.  With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:

 &lt;2&gt;&lt;40d&gt;: Abbrev Number: 6 (DW_TAG_structure_type)
    &lt;40e&gt;   DW_AT_name        : (indirect string, offset: 0x375): Generic&lt;i32&gt;
    &lt;412&gt;   DW_AT_byte_size   : 4
    &lt;413&gt;   DW_AT_alignment   : 4
...
 &lt;3&gt;&lt;41f&gt;: Abbrev Number: 8 (DW_TAG_template_type_param)
    &lt;420&gt;   DW_AT_type        : &lt;0x42a&gt;
    &lt;424&gt;   DW_AT_name        : (indirect string, offset: 0xa65e): T

Closes #9224
</content>
</entry>
<entry>
<title>Enable -mergefunc-use-aliases</title>
<updated>2018-11-29T23:52:16+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2018-11-29T22:05:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbf748993f59682f60dfe620eafea24124f737fb'/>
<id>urn:sha1:cbf748993f59682f60dfe620eafea24124f737fb</id>
<content type='text'>
If the Rust LLVM fork is used, enable the -mergefunc-use-aliases
flag, which will create aliases for merged functions, rather than
inserting a call from one to the other.

A number of codegen tests needed to be adjusted, because functions
that previously fell below the thunk limit are now being merged.
Merging is prevented either using -C no-prepopulate-passes, or by
making the functions non-identical.

I expect that this is going to break something, somewhere, because
it isn't able to deal with aliases properly, but we won't find out
until we try :)

This fixes #52651.
</content>
</entry>
<entry>
<title>Add template parameter debuginfo to generic types</title>
<updated>2018-11-29T20:04:09+00:00</updated>
<author>
<name>Tom Tromey</name>
<email>tom@tromey.com</email>
</author>
<published>2018-10-12T13:34:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fb204cb92f5da2cd0b630ee4b6be85b02404823e'/>
<id>urn:sha1:fb204cb92f5da2cd0b630ee4b6be85b02404823e</id>
<content type='text'>
This changes debuginfo generation to add template parameters to
generic types.  With this change the DWARF now has
DW_TAG_template_type_param for types, not just for functions, like:

 &lt;2&gt;&lt;40d&gt;: Abbrev Number: 6 (DW_TAG_structure_type)
    &lt;40e&gt;   DW_AT_name        : (indirect string, offset: 0x375): Generic&lt;i32&gt;
    &lt;412&gt;   DW_AT_byte_size   : 4
    &lt;413&gt;   DW_AT_alignment   : 4
...
 &lt;3&gt;&lt;41f&gt;: Abbrev Number: 8 (DW_TAG_template_type_param)
    &lt;420&gt;   DW_AT_type        : &lt;0x42a&gt;
    &lt;424&gt;   DW_AT_name        : (indirect string, offset: 0xa65e): T

Closes #9224
</content>
</entry>
</feed>
