about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2019-12-04 12:00:28 -0800
committerJosh Stone <jistone@redhat.com>2019-12-04 12:00:28 -0800
commit16d21783d63c9ff89742ab83c2d02d25307c262c (patch)
tree9773f3d16139d9e5f38b839df7372a5aad1aa8e4 /src/test/debuginfo/enum-thinlto.rs
parentc4f130493564b23e78628af25201e7e2260849f6 (diff)
downloadrust-16d21783d63c9ff89742ab83c2d02d25307c262c.tar.gz
rust-16d21783d63c9ff89742ab83c2d02d25307c262c.zip
Migrate to LLVM{Get,Set}ValueName2
The deprecated `LLVM{Get,Set}ValueName` only work with NUL-terminated
strings, but the `2` variants use explicit lengths, which fits better
with Rust strings and slices. We now use these in new helper functions
`llvm::{get,set}_value_name` that convert to/from `&[u8]`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions