summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/allocator.rs
AgeCommit message (Collapse)AuthorLines
2018-10-08codegen_llvm: improve allocationsljedrz-1/+1
2018-08-07rustc: Tweak visibility of some lang itemsAlex Crichton-3/+4
This commit tweaks the linker-level visibility of some lang items that rustc uses and defines. Notably this means that `#[panic_implementation]` and `#[alloc_error_handler]` functions are never marked as `internal`. It's up to the linker to eliminate these, not rustc. Additionally `#[global_allocator]` generated symbols are no longer forced to `Default` visibility (fully exported), but rather they're relaxed to `Hidden` visibility). This symbols are *not* needed across DLL boundaries, only as a local implementation detail of the compiler-injected allocator symbols, so `Hidden` should suffice. Closes #51342 Closes #52795
2018-07-30rustc_codegen_llvm: use safe references for Context and Module.Irina Popa-2/+2
2018-07-30rustc_codegen_llvm: move from empty enums to extern types.Irina Popa-2/+1
2018-05-17Rename trans to codegen everywhere.Irina Popa-0/+103