[PATCH] D45122: [DebugInfo] Add a new DI flag to record if a C++ record is a trivial type
Aaron Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 20 22:47:22 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL337641: [DebugInfo] Add a new DI flag to record if a C++ record is a trivial type (authored by asmith, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D45122?vs=156662&id=156663#toc
Repository:
rL LLVM
https://reviews.llvm.org/D45122
Files:
llvm/trunk/include/llvm-c/DebugInfo.h
llvm/trunk/include/llvm/IR/DebugInfoFlags.def
Index: llvm/trunk/include/llvm-c/DebugInfo.h
===================================================================
--- llvm/trunk/include/llvm-c/DebugInfo.h
+++ llvm/trunk/include/llvm-c/DebugInfo.h
@@ -54,6 +54,9 @@
LLVMDIFlagMainSubprogram = 1 << 21,
LLVMDIFlagTypePassByValue = 1 << 22,
LLVMDIFlagTypePassByReference = 1 << 23,
+ LLVMDIFlagFixedEnum = 1 << 24,
+ LLVMDIFlagThunk = 1 << 25,
+ LLVMDIFlagTrivial = 1 << 26,
LLVMDIFlagIndirectVirtualBase = (1 << 2) | (1 << 5),
LLVMDIFlagAccessibility = LLVMDIFlagPrivate | LLVMDIFlagProtected |
LLVMDIFlagPublic,
Index: llvm/trunk/include/llvm/IR/DebugInfoFlags.def
===================================================================
--- llvm/trunk/include/llvm/IR/DebugInfoFlags.def
+++ llvm/trunk/include/llvm/IR/DebugInfoFlags.def
@@ -47,6 +47,7 @@
HANDLE_DI_FLAG((1 << 23), TypePassByReference)
HANDLE_DI_FLAG((1 << 24), FixedEnum)
HANDLE_DI_FLAG((1 << 25), Thunk)
+HANDLE_DI_FLAG((1 << 26), Trivial)
// To avoid needing a dedicated value for IndirectVirtualBase, we use
// the bitwise or of Virtual and FwdDecl, which does not otherwise
@@ -56,7 +57,7 @@
#ifdef DI_FLAG_LARGEST_NEEDED
// intended to be used with ADT/BitmaskEnum.h
// NOTE: always must be equal to largest flag, check this when adding new flag
-HANDLE_DI_FLAG((1 << 25), Largest)
+HANDLE_DI_FLAG((1 << 26), Largest)
#undef DI_FLAG_LARGEST_NEEDED
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45122.156663.patch
Type: text/x-patch
Size: 1433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180721/1da1092c/attachment.bin>
More information about the llvm-commits
mailing list