about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-11-22 09:28:49 -0800
committerGitHub <noreply@github.com>2023-11-22 09:28:49 -0800
commitd58ded905835366fa4ddfc60ea5dfb9799c81fb7 (patch)
tree011bac77e83842417f37eb1128bc1de1d0c795f6 /compiler/rustc_codegen_llvm/src/lib.rs
parent73bc12199ea8c7651ed98b069c0dd6b0bb5fabcf (diff)
parentc07a6d5c9a1aa748d2b7493dbeb4374761919876 (diff)
downloadrust-d58ded905835366fa4ddfc60ea5dfb9799c81fb7.tar.gz
rust-d58ded905835366fa4ddfc60ea5dfb9799c81fb7.zip
Rollup merge of #118012 - celinval:smir-alloc, r=ouz-a
Add support for global allocation in smir

Add APIs to StableMir to support global allocation. Before this change, StableMir users had no API available to retrieve Allocation provenance information. They had to resource to internal APIs instead.

One example is retrieving the Allocation of an `&str`. See test for an example on how the API can be used.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions