rust/compiler/rustc_codegen_llvm/src
bors a9b2c6a0ce Auto merge of #114005 - Zalathar:no-cstr, r=jackh726
coverage: Don't convert filename/symbol strings to `CString` for FFI

LLVM APIs are usually perfectly happy to accept pointer/length strings, as long as we supply a suitable length value when creating a `StringRef` or `std::string`.

This lets us avoid quite a few intermediate `CString` copies during coverage codegen. It also lets us use an `IndexSet<Symbol>` (instead of an `IndexSet<CString>`) when building the deduplicated filename table.
2023-08-10 23:06:10 +00:00
..
back Rollup merge of #113593 - rcvalle:rust-cfi-fix-90546, r=wesleywiser 2023-08-08 21:44:43 +02:00
coverageinfo coverage: Don't convert symbol names to CString for FFI 2023-08-04 10:48:05 +10:00
debuginfo Use upvar_tys in more places, make it a list 2023-08-01 23:19:31 +00:00
llvm Auto merge of #114005 - Zalathar:no-cstr, r=jackh726 2023-08-10 23:06:10 +00:00
abi.rs feat: riscv-interrupt-{m,s} calling conventions 2023-08-08 18:09:56 -07:00
allocator.rs Generate better function argument names in global_allocator expansion 2023-08-06 07:36:05 -07:00
asm.rs Rollup merge of #111332 - loongarch-rs:inline-asm, r=Amanieu 2023-05-08 19:41:51 +09:00
attributes.rs inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00
base.rs cg_llvm: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:17 -04:00
builder.rs Rollup merge of #113593 - rcvalle:rust-cfi-fix-90546, r=wesleywiser 2023-08-08 21:44:43 +02:00
callee.rs cg_llvm: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:17 -04:00
common.rs Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3 2023-08-01 19:44:17 +00:00
consts.rs Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3 2023-08-01 19:44:17 +00:00
context.rs Update powerpc data layouts 2023-08-07 20:35:55 +02:00
declare.rs CFI: Fix SIGILL reached via trait objects 2023-05-09 20:04:19 +00:00
errors.rs Better diagnostics for dlltool errors. 2023-07-17 20:20:01 +00:00
intrinsic.rs Apply suggestions from code review 2023-08-06 15:47:40 -07:00
lib.rs Use standard Rust capitalization rules for names containing "LTO". 2023-07-31 16:21:02 +10:00
llvm_util.rs inline format!() args up to and including rustc_codegen_llvm 2023-07-30 14:22:50 +02:00
mono_item.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
type_.rs cg_ssa: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:20 -04:00
type_of.rs Auto merge of #114350 - erikdesjardins:ident, r=tmiasko 2023-08-04 07:17:02 +00:00
va_arg.rs cg_llvm: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:17 -04:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00