<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_ssa/src/back/write.rs, branch 1.74.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.74.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.74.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-25T17:31:58+00:00</updated>
<entry>
<title>Pass name of object file to LLVM so it can correctly emit S_OBJNAME</title>
<updated>2023-09-25T17:31:58+00:00</updated>
<author>
<name>Florian Schmiderer</name>
<email>florian.schmiderer@posteo.net</email>
</author>
<published>2023-09-09T12:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=91544e6a937b4c2c7181578533e6d10991559c14'/>
<id>urn:sha1:91544e6a937b4c2c7181578533e6d10991559c14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing Debuginfo to PDB debug file on windows.</title>
<updated>2023-09-07T22:28:40+00:00</updated>
<author>
<name>Florian Schmiderer</name>
<email>florian.schmiderer@posteo.net</email>
</author>
<published>2023-07-03T11:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4cdc633301e3c760fb36470afc216a9e09351fa3'/>
<id>urn:sha1:4cdc633301e3c760fb36470afc216a9e09351fa3</id>
<content type='text'>
Set Arg0 and CommandLineArgs in MCTargetoptions so LLVM outputs correct CL and CMD in LF_DEBUGINFO instead of empty/invalid values.
</content>
</entry>
<entry>
<title>rustc: Move `crate_types` from `Session` to `GlobalCtxt`</title>
<updated>2023-08-09T06:17:54+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2023-08-08T10:28:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0b89aac08d7190961544ced9e868cc20ce24d786'/>
<id>urn:sha1:0b89aac08d7190961544ced9e868cc20ce24d786</id>
<content type='text'>
Removes a piece of mutable state.
Follow up to #114578.
</content>
</entry>
<entry>
<title>Rollup merge of #113717 - cuishuang:master, r=Nilstrieb</title>
<updated>2023-07-31T20:49:47+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-07-31T20:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=58f963fb6561ce76e3154fc8ea19911e325b8e3b'/>
<id>urn:sha1:58f963fb6561ce76e3154fc8ea19911e325b8e3b</id>
<content type='text'>
remove repetitive words
</content>
</entry>
<entry>
<title>remove repetitive words</title>
<updated>2023-07-31T08:13:02+00:00</updated>
<author>
<name>cui fliter</name>
<email>imcusg@gmail.com</email>
</author>
<published>2023-07-15T16:37:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=88c7b16e03452bc6b9f62a7e93788f93b2a51a4f'/>
<id>urn:sha1:88c7b16e03452bc6b9f62a7e93788f93b2a51a4f</id>
<content type='text'>
Signed-off-by: cui fliter &lt;imcusg@gmail.com&gt;
</content>
</entry>
<entry>
<title>Clean up `generate_lto_work`.</title>
<updated>2023-07-31T06:21:03+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-07-24T07:43:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5673f4704298fa5ba3e0f7db55a2775bbea7e7a7'/>
<id>urn:sha1:5673f4704298fa5ba3e0f7db55a2775bbea7e7a7</id>
<content type='text'>
This function has some shared code for the thin LTO and fat LTO cases,
but those cases have so little in common that it's actually clearer to
treat them fully separately.
</content>
</entry>
<entry>
<title>Fix LLVM thread names on Windows.</title>
<updated>2023-07-31T06:21:03+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-07-23T22:24:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d404699fb170d146114d9be2cb2f5935aeee4047'/>
<id>urn:sha1:d404699fb170d146114d9be2cb2f5935aeee4047</id>
<content type='text'>
PR #112946 tweaked the naming of LLVM threads, but messed things up
slightly, resulting in threads on Windows having names like `optimize
module {} regex.f10ba03eb5ec7975-cgu.0`.

This commit removes the extraneous `{} `.
</content>
</entry>
<entry>
<title>Introduce `running_with_any_token` closure.</title>
<updated>2023-07-31T06:21:02+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-07-21T03:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90ce358afa1ac796e320f9c60463b604f30c7eeb'/>
<id>urn:sha1:90ce358afa1ac796e320f9c60463b604f30c7eeb</id>
<content type='text'>
It makes things a little clearer.
</content>
</entry>
<entry>
<title>Use standard Rust capitalization rules for names containing "LTO".</title>
<updated>2023-07-31T06:21:02+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-07-21T01:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3b44f5b0ebf7bdacde8b6e3e50582b5ea329da15'/>
<id>urn:sha1:3b44f5b0ebf7bdacde8b6e3e50582b5ea329da15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tweak structure of the message loop.</title>
<updated>2023-07-31T06:21:02+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-07-21T00:02:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a08220bcabe6f5ae3b01596311948a42dafbe4ec'/>
<id>urn:sha1:a08220bcabe6f5ae3b01596311948a42dafbe4ec</id>
<content type='text'>
The main loop has a *very* complex condition, which includes two
mentions of `codegen_state`. The body of the loop then immediately
switches on the `codegen_state`.

I find it easier to understand if it's a `loop` and we check for exit
conditions after switching on `codegen_state`. We end up with a tiny bit
of code duplication, but it's clear that (a) we never exit in the
`Ongoing` case, (b) we exit in the `Completed` state only if several
things are true (and there's interaction with LTO there), and (c) we
exit in the `Aborted` state if a couple of things are true. Also, the
exit conditions are all simple conjunctions.
</content>
</entry>
</feed>
