mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-24 23:19:03 +00:00
C/OCaml API to retrieve struct name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -372,6 +372,10 @@ val struct_type : llcontext -> lltype array -> lltype
|
||||
[llvm::StructType::get]. *)
|
||||
val packed_struct_type : llcontext -> lltype array -> lltype
|
||||
|
||||
(** [struct_name ty] returns the name of the named structure type [ty],
|
||||
* or None if the structure type is not named *)
|
||||
val struct_name : lltype -> string option
|
||||
|
||||
|
||||
(** [struct_element_types sty] returns the constituent types of the struct type
|
||||
[sty]. See the method [llvm::StructType::getElementType]. *)
|
||||
|
||||
Reference in New Issue
Block a user