[all-commits] [llvm/llvm-project] e8e888: [llvm-c] Add non-cstring versions of LLVMGetNamedF...
wr7 via All-commits
all-commits at lists.llvm.org
Fri Aug 16 05:44:46 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8e88873ab528eb9a44804e6e68953bb058eceb7
https://github.com/llvm/llvm-project/commit/e8e88873ab528eb9a44804e6e68953bb058eceb7
Author: wr7 <d-wr7 at outlook.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
Log Message:
-----------
[llvm-c] Add non-cstring versions of LLVMGetNamedFunction and LLVMGetNamedGlobal (#103396)
Add `LLVMGetNamedFunctionWithLength` and `LLVMGetNamedGlobalWithLength`
As far as i know, it isn't currently possible to use
`LLVMGetNamedFunction` and `LLVMGetNamedGlobal` with non-null-terminated
strings.
These new functions are more convenient for C programs that use
non-null-terminated strings or for languages like Rust that primarily
use non-null-terminated strings.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list