about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
AgeCommit message (Expand)AuthorLines
2025-09-25Use standard attribute logic for allocator shimNikita Popov-20/+5
2025-08-24Rename `llvm::Bool` aliases to standard const caseZalathar-3/+3
2025-08-13fix(compiler/rustc_codegen_llvm): apply `target-cpu` attributeStackOverflowExcept1on-1/+16
2025-07-03Make __rust_alloc_error_handler_should_panic a functionDaniel Paoliello-8/+37
2025-06-16Change __rust_no_alloc_shim_is_unstable to be a functionDaniel Paoliello-32/+42
2025-03-17Remove implicit #[no_mangle] for #[rustc_std_internal_symbol]bjorn3-8/+9
2025-02-24Make allocator shim creation mostly use safe codeOli Scherer-86/+70
2025-02-11Document some safety constraints and use more safe wrappersOli Scherer-2/+2
2024-10-30Clean up FFI calls for operand bundlesZalathar-1/+2
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-4/+5
2024-10-26Use safe wrappers `get_visibility` and `set_visibility`Zalathar-13/+4
2024-10-01Replace -Z default-hidden-visibility with -Z default-visibilityDavid Lattimore-9/+13
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-08-20Avoid extra `cast()`s after `CStr::as_ptr()`Josh Stone-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+1
2024-07-16Fix unsafe_op_in_unsafe_fn in compilerMichael Goulet-23/+27
2023-12-31Add -Zuse-sync-unwindquininer-1/+2
2023-12-14Auto merge of #118566 - klensy:cstr-new, r=WaffleLapkinbors-1/+1
2023-12-13Add unstable `-Zdefault-hidden-visibility` cmdline flag for `rustc`.Lukasz Anforowicz-3/+3
2023-12-03compiler: replace cstr macro with c str literals in compiler and few other c ...klensy-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-08-13Auto merge of #113722 - bjorn3:allocator_shim_refactor, r=jackh726bors-92/+90
2023-08-06Generate better function argument names in global_allocator expansionDavid Tolnay-2/+2
2023-08-04Extract a create_wrapper_function for use in allocator shim writingbjorn3-92/+90
2023-07-29cg_llvm: remove pointee types and pointercast/bitcast-of-ptrErik Desjardins-1/+1
2023-07-05Revert "use new c literals instead of cstr! macro"León Orell Valerian Liehr-2/+2
2023-05-31use new c literals instead of cstr! macroklensy-2/+2
2023-05-11Prevent insta-stable no alloc shim supportbjorn3-1/+9
2023-05-11Use global_fn_name instead of format!bjorn3-2/+3
2023-05-11Split AllocatorKind::fn_name in global_fn_name and default_fn_namebjorn3-2/+2
2023-05-11Don't use an allocator shim for `#[global_allocator]`bjorn3-66/+70
2023-04-25Revert "Remove #[alloc_error_handler] from the compiler and library"Matthias Krüger-0/+48
2023-04-16Remove #[alloc_error_handler] from the compiler and libraryAmanieu d'Antras-48/+0
2022-12-08Add LLVM KCFI support to the Rust compilerRamon de C Valle-3/+11
2022-10-31Rewrite implementation of `#[alloc_error_handler]`Amanieu d'Antras-3/+2
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-1/+1
2022-03-18Auto merge of #88098 - Amanieu:oom_panic, r=nagisabors-1/+11
2022-03-14debuginfo: Refactor debuginfo generation for typesMichael Woerister-2/+2
2022-03-03Add -Z oom={panic,abort} command-line optionAmanieu d'Antras-1/+11
2022-02-26Add LLVM attributes in batches instead of individuallyErik Desjardins-4/+7
2022-02-14llvm: migrate to new parameter-bearing uwtable attrAugie Fackler-2/+2
2021-08-31Include debug info for the allocator shimDaniel Paoliello-3/+12
2021-08-05Prepare call/invoke for opaque pointersJosh Stone-3/+10
2021-02-17Remove redundant to_string callsest31-1/+1
2020-11-08Collapse all uses of `target.options.foo` into `target.foo`Vadim Petrochenkov-2/+2
2020-10-30Fix even more clippy warningsJoshua Nelson-1/+1
2020-10-15Replace target.target with target and target.ptr_width with target.pointer_widthest31-3/+3
2020-10-15Rename target_pointer_width to pointer_width and turn it into an u32est31-4/+4
2020-10-02Implement Make `handle_alloc_error` default to panic (for no_std + liballoc)Harald Hoyer-1/+44
2020-08-30mv compiler to compiler/mark-0/+85