]> git.proxmox.com Git - mirror_frr.git/blob - tools/frr-llvm-debuginfo.h
Merge pull request #12248 from pguibert6WIND/bgpasdot
[mirror_frr.git] / tools / frr-llvm-debuginfo.h
1 // SPDX-License-Identifier: Unlicense
2
3 #ifndef _FRR_LLVM_DEBUGINFO_H
4 #define _FRR_LLVM_DEBUGINFO_H
5
6 #include <stdbool.h>
7 #include <llvm-c/Core.h>
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 struct dbginfo;
14
15 extern struct dbginfo *dbginfo_load(LLVMModuleRef mod);
16 extern bool dbginfo_struct_member(struct dbginfo *di, LLVMTypeRef typ,
17 unsigned long long idx, char **struct_name,
18 char **member_name);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif /* _FRR_LLVM_DEBUGINFO_H */