about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorCelina G. Val <celinval@amazon.com>2024-03-01 11:00:33 -0800
committerCelina G. Val <celinval@amazon.com>2024-03-12 11:17:22 -0700
commitc076509d8a0c685df1105bf81c65f5fe21c83aa8 (patch)
treeac146412a59212309ba594ffdebc7ea7c1ab4c0f /compiler/rustc_codegen_llvm/src
parent7de1a1f6db26cf7af43cca74819118428e6317ee (diff)
downloadrust-c076509d8a0c685df1105bf81c65f5fe21c83aa8.tar.gz
rust-c076509d8a0c685df1105bf81c65f5fe21c83aa8.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions