llvm/lib/CodeGen/AsmPrinter/DebugLocList.h
David Blaikie 5bfa4ba44d DebugInfo: Move the reference to the CU from the location list entry to the list itself, since it is constant across an entire list.
This simplifies construction and usage while making the data structure
smaller. It was a holdover from the days when we didn't have a separate
DebugLocList and all we had was a flat list of DebugLocEntries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214933 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-05 23:14:16 +00:00

26 lines
665 B
C++

//===--- lib/CodeGen/DebugLocList.h - DWARF debug_loc list ------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef CODEGEN_ASMPRINTER_DEBUGLOCLIST_H__
#define CODEGEN_ASMPRINTER_DEBUGLOCLIST_H__
#include "llvm/ADT/SmallVector.h"
#include "DebugLocEntry.h"
namespace llvm {
class DwarfCompileUnit;
class MCSymbol;
struct DebugLocList {
MCSymbol *Label;
DwarfCompileUnit *CU;
SmallVector<DebugLocEntry, 4> List;
};
}
#endif