about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2024-11-08 18:51:30 +1100
committerGitHub <noreply@github.com>2024-11-08 18:51:30 +1100
commit3a48d801557a571c819ce62764ae2cc18605e5c8 (patch)
tree1e8c238dd9b0862f0744c6f9a90f7ee6e4e65536 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent758a904764f438ffe05337912a84d49c62021da5 (diff)
parent5bfa0b106e253e6f8ed93d4c4f44534ccbb13c85 (diff)
downloadrust-3a48d801557a571c819ce62764ae2cc18605e5c8.tar.gz
rust-3a48d801557a571c819ce62764ae2cc18605e5c8.zip
Rollup merge of #132590 - Zalathar:z-timings-stats, r=jieyouxu
Simplify FFI calls for `-Ztime-llvm-passes` and `-Zprint-codegen-stats`

The existing code for these unstable LLVM-infodump flags was jumping through hoops to pass an allocated C string across the FFI boundary, when it's much simpler to just write to a `&RustString` instead.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions