<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustllvm/RustWrapper.cpp, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-09-09T20:05:43+00:00</updated>
<entry>
<title>Move `rustllvm` into `rustc_llvm`</title>
<updated>2020-09-09T20:05:43+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2020-07-26T17:11:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10d3f8a484a812db995198f17b17462718f477bc'/>
<id>urn:sha1:10d3f8a484a812db995198f17b17462718f477bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove AsmDialect::Other</title>
<updated>2020-08-12T15:59:17+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2020-08-12T15:58:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc163ed4eed34a4dcd32eb24a48502c5d572f120'/>
<id>urn:sha1:fc163ed4eed34a4dcd32eb24a48502c5d572f120</id>
<content type='text'>
Added in #35174, this was already unused (and new uses have not been introduced
since then).
</content>
</entry>
<entry>
<title>Remove SynchronizationScope::Other</title>
<updated>2020-08-11T20:16:28+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2020-08-11T20:16:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3c73ca88c58082123a217ddaea535639093a4d5'/>
<id>urn:sha1:a3c73ca88c58082123a217ddaea535639093a4d5</id>
<content type='text'>
Added in b7615389978eae2ae9f3cba9a776fd8da3f743ca, it started out already
unused.
</content>
</entry>
<entry>
<title>Generating the coverage map</title>
<updated>2020-07-17T18:49:35+00:00</updated>
<author>
<name>Rich Kadel</name>
<email>richkadel@google.com</email>
</author>
<published>2020-07-02T18:27:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a6f8b8a2116f0ea7e31d572d3120508678ed8079'/>
<id>urn:sha1:a6f8b8a2116f0ea7e31d572d3120508678ed8079</id>
<content type='text'>
rustc now generates the coverage map and can support (limited)
coverage report generation, at the function level.

Example:

$ BUILD=$HOME/rust/build/x86_64-unknown-linux-gnu
$ $BUILD/stage1/bin/rustc -Zinstrument-coverage \
$HOME/rust/src/test/run-make-fulldeps/instrument-coverage/main.rs
$ LLVM_PROFILE_FILE="main.profraw" ./main
called
$ $BUILD/llvm/bin/llvm-profdata merge -sparse main.profraw -o main.profdata
$ $BUILD/llvm/bin/llvm-cov show --instr-profile=main.profdata main
    1|      1|pub fn will_be_called() {
    2|      1|    println!("called");
    3|      1|}
    4|       |
    5|      0|pub fn will_not_be_called() {
    6|      0|    println!("should not have been called");
    7|      0|}
    8|       |
    9|      1|fn main() {
   10|      1|    let less = 1;
   11|      1|    let more = 100;
   12|      1|
   13|      1|    if less &lt; more {
   14|      1|        will_be_called();
   15|      1|    } else {
   16|      1|        will_not_be_called();
   17|      1|    }
   18|      1|}
</content>
</entry>
<entry>
<title>Rollup merge of #73715 - MaulingMonkey:pr-natvis-tuples, r=Amanieu</title>
<updated>2020-07-11T15:53:13+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-11T15:53:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=084ac77cf29e786df7251392bed0b6e6c7ea8786'/>
<id>urn:sha1:084ac77cf29e786df7251392bed0b6e6c7ea8786</id>
<content type='text'>
debuginfo:  Mangle tuples to be natvis friendly, typedef basic types

These changes are meant to unblock rust-lang/rust#70052 "Update hashbrown to 0.8.0" by allowing the use of `tuple&lt;u64, u64&gt;` as a .natvis expression in MSVC style debuggers (MSVC, WinDbg, CDB, etc.)

* f8eb81b does the actual mangling of `(u64, u64)` -&gt; `tuple&lt;u64, 64&gt;`
* 24a728a allows `u64` to resolve (fixing `$T1` / `$T2` when used to visualize `HashMap&lt;u64, u64, ...&gt;`)
</content>
</entry>
<entry>
<title>Prepare for LLVM 11</title>
<updated>2020-06-26T01:52:41+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2020-06-26T01:52:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=49f6166ef7825a39e980c0ba0904073379bb01e6'/>
<id>urn:sha1:49f6166ef7825a39e980c0ba0904073379bb01e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>debuginfo:  Define int/float types in terms of MSVC-recognized types.</title>
<updated>2020-06-25T06:28:00+00:00</updated>
<author>
<name>MaulingMonkey</name>
<email>git@maulingmonkey.com</email>
</author>
<published>2020-06-25T06:28:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24a728a8eb4832568509eb757c2374934a76cb98'/>
<id>urn:sha1:24a728a8eb4832568509eb757c2374934a76cb98</id>
<content type='text'>
PDB debug information doesn't appear to be emitted for basic types.
By defining u32 as a typedef for unsigned __int32 when targeting MSVC,
we allow CDB and other debuggers to recognize "u32" as a type/expression.

This in turn unblocks rust-lang#70052 "Update hashbrown to 0.8.0" by
allowing $T1 ..= $T3 to resolve, which would otherwise fail to resolve
when builtin types fail to parse.
</content>
</entry>
<entry>
<title>[WIP] injects llvm intrinsic instrprof.increment for coverage reports</title>
<updated>2020-06-15T23:50:10+00:00</updated>
<author>
<name>Rich Kadel</name>
<email>richkadel@google.com</email>
</author>
<published>2020-06-04T04:19:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5068ae1ca05b2be0c2a98206a58d894aa620b312'/>
<id>urn:sha1:5068ae1ca05b2be0c2a98206a58d894aa620b312</id>
<content type='text'>
This initial version only injects counters at the top of each function.
Rust Coverage will require injecting additional counters at each
conditional code branch.
</content>
</entry>
<entry>
<title>Handle assembler warnings properly</title>
<updated>2020-06-09T14:01:02+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2020-06-09T13:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5541f689e9cfc6c1ccdb2277a308bc2e8541ab5e'/>
<id>urn:sha1:5541f689e9cfc6c1ccdb2277a308bc2e8541ab5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve inline asm error diagnostics</title>
<updated>2020-05-29T16:05:35+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2020-05-26T19:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b78b15665b622cc37b25e9bd971537296403b83d'/>
<id>urn:sha1:b78b15665b622cc37b25e9bd971537296403b83d</id>
<content type='text'>
</content>
</entry>
</feed>
