rust/compiler/rustc_codegen_llvm/src/llvm
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
..
archive_ro.rs Use object instead of LLVM for reading bitcode from rlibs 2022-07-25 16:07:23 +00:00
diagnostic.rs make opt diagnostic kinds printable 2023-07-14 11:11:59 +00:00
ffi.rs Auto merge of #114005 - Zalathar:no-cstr, r=jackh726 2023-08-10 23:06:10 +00:00
mod.rs Recognize AIX style archive kind 2023-04-19 11:10:47 +08:00