[PATCH] D103910: [llvm] Sync DebugInfo.h with DebugInfoFlags.def
Jan Kratochvil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 9 07:37:16 PDT 2021
jankratochvil updated this revision to Diff 350895.
Herald added a subscriber: dexonsmith.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103910/new/
https://reviews.llvm.org/D103910
Files:
llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml
llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli
llvm/include/llvm-c/DebugInfo.h
llvm/include/llvm/IR/DebugInfoFlags.def
Index: llvm/include/llvm/IR/DebugInfoFlags.def
===================================================================
--- llvm/include/llvm/IR/DebugInfoFlags.def
+++ llvm/include/llvm/IR/DebugInfoFlags.def
@@ -23,6 +23,11 @@
#endif
// General flags kept in DINode.
+// Keep it in sync these files:
+// llvm/include/llvm-c/DebugInfo.h
+// llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
+// llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml
+// llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli
HANDLE_DI_FLAG(0, Zero) // Use it as zero value.
// For example: void foo(DIFlags Flags = FlagZero).
Index: llvm/include/llvm-c/DebugInfo.h
===================================================================
--- llvm/include/llvm-c/DebugInfo.h
+++ llvm/include/llvm-c/DebugInfo.h
@@ -42,7 +42,7 @@
LLVMDIFlagStaticMember = 1 << 12,
LLVMDIFlagLValueReference = 1 << 13,
LLVMDIFlagRValueReference = 1 << 14,
- LLVMDIFlagReserved = 1 << 15,
+ LLVMDIFlagExportSymbols = 1 << 15,
LLVMDIFlagSingleInheritance = 1 << 16,
LLVMDIFlagMultipleInheritance = 2 << 16,
LLVMDIFlagVirtualInheritance = 3 << 16,
@@ -57,6 +57,7 @@
LLVMDIFlagNonTrivial = 1 << 26,
LLVMDIFlagBigEndian = 1 << 27,
LLVMDIFlagLittleEndian = 1 << 28,
+ LLVMDIFlagAllCallsDescribed = 1 << 29,
LLVMDIFlagIndirectVirtualBase = (1 << 2) | (1 << 5),
LLVMDIFlagAccessibility = LLVMDIFlagPrivate | LLVMDIFlagProtected |
LLVMDIFlagPublic,
Index: llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli
===================================================================
--- llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli
+++ llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli
@@ -76,7 +76,7 @@
| StaticMember
| LValueReference
| RValueReference
- | Reserved
+ | ExportSymbols
| SingleInheritance
| MultipleInheritance
| VirtualInheritance
Index: llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml
===================================================================
--- llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml
+++ llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml
@@ -76,7 +76,7 @@
| StaticMember
| LValueReference
| RValueReference
- | Reserved
+ | ExportSymbols
| SingleInheritance
| MultipleInheritance
| VirtualInheritance
Index: llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
===================================================================
--- llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
+++ llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
@@ -44,7 +44,7 @@
i_DIFlagStaticMember,
i_DIFlagLValueReference,
i_DIFlagRValueReference,
- i_DIFlagReserved,
+ i_DIFlagExportSymbols,
i_DIFlagSingleInheritance,
i_DIFlagMultipleInheritance,
i_DIFlagVirtualInheritance,
@@ -100,8 +100,8 @@
return LLVMDIFlagLValueReference;
case i_DIFlagRValueReference:
return LLVMDIFlagRValueReference;
- case i_DIFlagReserved:
- return LLVMDIFlagReserved;
+ case i_DIFlagExportSymbols:
+ return LLVMDIFlagExportSymbols;
case i_DIFlagSingleInheritance:
return LLVMDIFlagSingleInheritance;
case i_DIFlagMultipleInheritance:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103910.350895.patch
Type: text/x-patch
Size: 3174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210609/92a2043f/attachment.bin>
More information about the llvm-commits
mailing list