<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/back, branch 1.76.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.76.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.76.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-01-12T10:27:00+00:00</updated>
<entry>
<title>Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix"</title>
<updated>2024-01-12T10:27:00+00:00</updated>
<author>
<name>DianQK</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2024-01-12T10:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=251322ea3dedb68aa96c8e830d1dbddc07229912'/>
<id>urn:sha1:251322ea3dedb68aa96c8e830d1dbddc07229912</id>
<content type='text'>
This reverts commit 8c2b57721728233e074db69d93517614de338055, reversing
changes made to 9cf18e98f82d85fa41141391d54485b8747da46f.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #118568 - DianQK:no-builtins-symbols, r=pnkfelix"</title>
<updated>2024-01-12T10:26:42+00:00</updated>
<author>
<name>DianQK</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2024-01-12T10:26:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=59ccbe306afe19197a1c8ec5553754ae7fbe2c8e'/>
<id>urn:sha1:59ccbe306afe19197a1c8ec5553754ae7fbe2c8e</id>
<content type='text'>
This reverts commit 503e129328080e924c0ddfca6abf4c2812580102, reversing
changes made to 0e7f91b75e7484a713e2f644212cfc1aa7478a28.
</content>
</entry>
<entry>
<title>Rename many `DiagCtxt` and `EarlyDiagCtxt` locals.</title>
<updated>2023-12-18T05:06:22+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-18T00:15:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6aa418c9f616ae898d01082f8fe324927295d9c'/>
<id>urn:sha1:f6aa418c9f616ae898d01082f8fe324927295d9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename many `DiagCtxt` arguments.</title>
<updated>2023-12-18T05:06:22+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T23:15:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f422dca3ae8b8a8c9a99b8e6ec0899e08dc072c3'/>
<id>urn:sha1:f422dca3ae8b8a8c9a99b8e6ec0899e08dc072c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `CodegenContext::create_diag_handler` as `CodegenContext::create_dcx`.</title>
<updated>2023-12-18T05:06:21+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T21:43:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7c656bc05bdb39884bdc5e87b2ed870233289591'/>
<id>urn:sha1:7c656bc05bdb39884bdc5e87b2ed870233289591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Session::span_diagnostic` as `Session::dcx`.</title>
<updated>2023-12-18T05:06:21+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T19:21:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=09af8a667c0fa456bbe62fa462f4b0f42f2845ec'/>
<id>urn:sha1:09af8a667c0fa456bbe62fa462f4b0f42f2845ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `Handler` as `DiagCtxt`.</title>
<updated>2023-12-18T05:06:19+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2023-12-17T10:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cde19c016e4608288a02f5bdec0b5330d474c26f'/>
<id>urn:sha1:cde19c016e4608288a02f5bdec0b5330d474c26f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkin</title>
<updated>2023-12-14T11:14:03+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-14T11:14:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1aa6aefdc92555b3fbc5ae4c99365df9845a3e31'/>
<id>urn:sha1:1aa6aefdc92555b3fbc5ae4c99365df9845a3e31</id>
<content type='text'>
use c literals in compiler and library

Relands refreshed https://github.com/rust-lang/rust/pull/111647
</content>
</entry>
<entry>
<title>rustc_codegen_llvm: Enforce `rustc::potential_query_instability` lint</title>
<updated>2023-12-12T12:16:14+00:00</updated>
<author>
<name>Martin Nordholts</name>
<email>martin.nordholts@codetale.se</email>
</author>
<published>2023-12-12T12:14:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f44ccbab2bbdc538b739d6a1f5f9fbdb8339f8f8'/>
<id>urn:sha1:f44ccbab2bbdc538b739d6a1f5f9fbdb8339f8f8</id>
<content type='text'>
Stop allowing `rustc::potential_query_instability` on all of
`rustc_codegen_llvm` and instead allow it on a case-by-case basis. In
this case, both instances are safe to allow.
</content>
</entry>
<entry>
<title>Auto merge of #117873 - quininer:android-emutls, r=Amanieu</title>
<updated>2023-12-09T05:32:35+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-12-09T05:32:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=608f32435afd5b61f61c593e70df1a2b8ada6a79'/>
<id>urn:sha1:608f32435afd5b61f61c593e70df1a2b8ada6a79</id>
<content type='text'>
Add emulated TLS support

This is a reopen of https://github.com/rust-lang/rust/pull/96317 . many android devices still only use 128 pthread keys, so using emutls can be helpful.

Currently LLVM uses emutls by default for some targets (such as android, openbsd), but rust does not use it, because `has_thread_local` is false.

This commit has some changes to allow users to enable emutls:

1. add `-Zhas-thread-local` flag to specify that std uses `#[thread_local]` instead of pthread key.
2. when using emutls, decorate symbol names to find thread local symbol correctly.
3. change `-Zforce-emulated-tls` to `-Ztls-model=emulated` to explicitly specify whether to generate emutls.

r? `@Amanieu`
</content>
</entry>
</feed>
