1
Fork 0
rust/compiler/stable_mir/src
Celina G. Val c076509d8a Add methods to create constants
I've been experimenting with transforming the StableMIR to instrument
the code with potential UB checks. The modified body will only
be used by our analysis tool, however, constants in StableMIR must be
backed by rustc constants. Thus, I'm adding a few functions to build
constants, such as building string and other primitives.
2024-03-12 11:17:22 -07:00
..
mir Distinguish between library and lang UB in assert_unsafe_precondition 2024-03-08 18:53:58 -05:00
abi.rs Add support to new float types 2024-03-01 11:16:35 -08:00
compiler_interface.rs Add methods to create constants 2024-03-12 11:17:22 -07:00
crate_def.rs Improve documentation and fix the fixme comment 2023-11-23 12:29:20 -08:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Add APIs for fetching foreign items including foreign modules, their ABIs, and their items 2024-02-12 19:44:35 +00:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
ty.rs Add methods to create constants 2024-03-12 11:17:22 -07:00
visitor.rs Restore movability to SMIR 2023-12-28 16:35:01 +00:00