mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
bd584159e1
This is a necessary prerequisite for bootstrapping the emission of debug info inside modules. - Adds a FlagExternalTypeRef to DICompositeType. External types must have a unique identifier. - External type references are emitted using a forward declaration with a DW_AT_signature([DW_FORM_ref_sig8]) based on the UID. http://reviews.llvm.org/D9612 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242302 91177308-0d34-0410-b5e6-96231b3b80d8
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
//===- llvm/IR/DebugInfoFlags.def - Debug info flag definitions -*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Macros for running through debug info flags.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// TODO: Add other DW-based macros.
|
|
#ifndef HANDLE_DI_FLAG
|
|
#error "Missing macro definition of HANDLE_DI_FLAG"
|
|
#endif
|
|
|
|
HANDLE_DI_FLAG(1, Private)
|
|
HANDLE_DI_FLAG(2, Protected)
|
|
HANDLE_DI_FLAG(3, Public)
|
|
HANDLE_DI_FLAG((1 << 2), FwdDecl)
|
|
HANDLE_DI_FLAG((1 << 3), AppleBlock)
|
|
HANDLE_DI_FLAG((1 << 4), BlockByrefStruct)
|
|
HANDLE_DI_FLAG((1 << 5), Virtual)
|
|
HANDLE_DI_FLAG((1 << 6), Artificial)
|
|
HANDLE_DI_FLAG((1 << 7), Explicit)
|
|
HANDLE_DI_FLAG((1 << 8), Prototyped)
|
|
HANDLE_DI_FLAG((1 << 9), ObjcClassComplete)
|
|
HANDLE_DI_FLAG((1 << 10), ObjectPointer)
|
|
HANDLE_DI_FLAG((1 << 11), Vector)
|
|
HANDLE_DI_FLAG((1 << 12), StaticMember)
|
|
HANDLE_DI_FLAG((1 << 13), LValueReference)
|
|
HANDLE_DI_FLAG((1 << 14), RValueReference)
|
|
HANDLE_DI_FLAG((1 << 15), ExternalTypeRef)
|
|
|
|
#undef HANDLE_DI_FLAG
|