summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
AgeCommit message (Expand)AuthorLines
2024-11-12Rollup merge of #132702 - 1c3t3a:issue-132615, r=rcvalleMatthias Krüger-0/+1
2024-11-11CFI: Append debug location to CFI blocksBastian Kersting-0/+1
2024-11-09Add discriminators to DILocations when multiple functions are inlined into a ...Kyle Huey-0/+4
2024-11-09Auto merge of #132584 - Zalathar:includes, r=cuviperbors-1/+1
2024-11-09Make `RustString` an extern type to avoid `improper_ctypes` warningsZalathar-24/+2
2024-11-08Rollup merge of #132590 - Zalathar:z-timings-stats, r=jieyouxuStuart Cook-4/+6
2024-11-05coverage: Tidy up coverage-specific FFI functionsZalathar-12/+12
2024-11-04Simplify FFI calls for `-Ztime-llvm-passes` and `-Zprint-codegen-stats`Zalathar-4/+6
2024-11-04Move `LLVMRustAttribute[Kind]` out of `LLVMWrapper.h`Zalathar-1/+1
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-1/+1
2024-11-02Port most of `LLVMRustPrintTargetCPUs` to RustZalathar-6/+2
2024-11-02Use a dedicated safe wrapper for `LLVMRustGetHostCPUName`Zalathar-1/+1
2024-10-31Remove support for `-Zprofile` (gcov-style coverage instrumentation)Zalathar-1/+0
2024-10-30Rollup merge of #132342 - Zalathar:operand-bundle, r=workingjubileeMatthias Krüger-55/+74
2024-10-30Clean up FFI calls for operand bundlesZalathar-55/+74
2024-10-30Consistently use safe wrapper function `set_section`Zalathar-0/+1
2024-10-29Rollup merge of #132319 - Zalathar:add-module-flag, r=jieyouxuMatthias Krüger-11/+44
2024-10-29Clean up FFI calls for setting module flagsZalathar-9/+44
2024-10-29Don't set unnecessary module flag "LTOPostLink"Zalathar-2/+0
2024-10-29Rollup merge of #132216 - klensy:c_uint, r=cuviperJubilee-2/+2
2024-10-29correct LLVMRustCreateThinLTOData arg typesklensy-2/+2
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-6/+6
2024-10-27Use LLVM-C APIs for getting/setting visibilityZalathar-6/+6
2024-10-26Use LLVM-C APIs for getting/setting linkageZalathar-13/+24
2024-10-26Add a wrapper type for raw enum values returned by LLVMZalathar-0/+25
2024-10-26Use safe wrappers `get_visibility` and `set_visibility`Zalathar-0/+4
2024-10-26Use safe wrappers `get_linkage` and `set_linkage`Zalathar-0/+4
2024-10-25coverage: Emit MC/DC intrinsics using the normal helper methodZalathar-3/+0
2024-10-25coverage: Emit `llvm.instrprof.increment` using the normal helper methodZalathar-1/+0
2024-10-24Rollup merge of #131956 - Zalathar:llvm-counters, r=compiler-errors,SwatinemStuart Cook-10/+16
2024-10-20Make `llvm::set_section` take a `&CStr`Zalathar-3/+2
2024-10-20Pass coverage mappings to LLVM as separate structsZalathar-2/+8
2024-10-20Reduce visibility of coverage FFI functions/typesZalathar-8/+8
2024-10-19cg_llvm: Reuse LLVM-C Comdat supportJubilee Young-7/+15
2024-10-18cg_llvm: Switch `llvm::add_global` to `&CStr`Jubilee Young-2/+1
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-1/+0
2024-10-01Replace -Z default-hidden-visibility with -Z default-visibilityDavid Lattimore-0/+11
2024-09-24Auto merge of #130389 - Luv-Ray:LLVMMDNodeInContext2, r=nikicbors-10/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-19Reformat some comments.Nicholas Nethercote-1/+2
2024-09-19Merge adjacent `unsafe extern "C"` blocks.Nicholas Nethercote-26/+2
2024-09-19Avoid heavy repetition in `llvm/ffi.rs`.Nicholas Nethercote-70/+67
2024-09-19replace some deprecated functionsLuv-Ray-10/+0
2024-09-06Don't leave debug locations for constants sitting on the builder indefinitely.Kyle Huey-1/+1
2024-09-05Rollup merge of #128820 - LYF1999:yf/dev, r=nikicMatthias Krüger-0/+1
2024-08-29Rollup merge of #128970 - DianQK:lint-llvm-ir, r=nikicGuillaume Gomez-0/+1
2024-08-29Add `-Zlint-llvm-ir`DianQK-0/+1
2024-08-27Rollup merge of #129635 - compiler-errors:unsafe-blocks, r=spastorinoMatthias Krüger-21/+21
2024-08-27Rollup merge of #126985 - Mrmaxmeier:dwarf-embed-source, r=davidtwcoTrevor Gross-0/+2
2024-08-26Use unsafe extern blocks throughout the compilerMichael Goulet-21/+21