• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//===- llvm/IR/DebugInfoFlags.def - Debug info flag definitions -*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// Macros for running through debug info flags.
11//
12//===----------------------------------------------------------------------===//
13
14// TODO: Add other DW-based macros.
15#ifndef HANDLE_DI_FLAG
16#error "Missing macro definition of HANDLE_DI_FLAG"
17#endif
18
19HANDLE_DI_FLAG(1, Private)
20HANDLE_DI_FLAG(2, Protected)
21HANDLE_DI_FLAG(3, Public)
22HANDLE_DI_FLAG((1 << 2), FwdDecl)
23HANDLE_DI_FLAG((1 << 3), AppleBlock)
24HANDLE_DI_FLAG((1 << 4), BlockByrefStruct)
25HANDLE_DI_FLAG((1 << 5), Virtual)
26HANDLE_DI_FLAG((1 << 6), Artificial)
27HANDLE_DI_FLAG((1 << 7), Explicit)
28HANDLE_DI_FLAG((1 << 8), Prototyped)
29HANDLE_DI_FLAG((1 << 9), ObjcClassComplete)
30HANDLE_DI_FLAG((1 << 10), ObjectPointer)
31HANDLE_DI_FLAG((1 << 11), Vector)
32HANDLE_DI_FLAG((1 << 12), StaticMember)
33HANDLE_DI_FLAG((1 << 13), LValueReference)
34HANDLE_DI_FLAG((1 << 14), RValueReference)
35HANDLE_DI_FLAG((1 << 15), ExternalTypeRef)
36HANDLE_DI_FLAG((1 << 16), SingleInheritance)
37HANDLE_DI_FLAG((2 << 16), MultipleInheritance)
38HANDLE_DI_FLAG((3 << 16), VirtualInheritance)
39HANDLE_DI_FLAG((1 << 18), IntroducedVirtual)
40HANDLE_DI_FLAG((1 << 19), BitField)
41
42#undef HANDLE_DI_FLAG
43