rust/src/librustc_codegen_ssa
Dylan DPC 2e42476267
Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk
Fix #[thread_local] statics as asm! sym operands

The `asm!` RFC specifies that `#[thread_local]` statics may be used as `sym` operands for inline assembly.

This also fixes a regression in the handling of `#[thread_local]` during monomorphization which caused link-time errors with multiple codegen units, most likely introduced by #71192.

r? @oli-obk
2020-06-12 00:05:19 +02:00
..
2020-06-09 15:01:02 +01:00
2020-05-23 12:24:19 +02:00
2020-05-22 13:31:02 -07:00
2020-06-02 20:38:24 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.