mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
b2d73d1556
This removes the magic-number-esque code creating/retrieving the same label for a debug_loc entry from two places and removes the last small piece of reusable logic from emitDebugLoc so that there will be less duplication when refactoring it into two functions (one for debug_loc, the other for debug_loc.dwo). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205382 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
631 B
C++
24 lines
631 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/MC/MCSymbol.h"
|
|
#include "llvm/ADT/SmallVector.h"
|
|
#include "DebugLocEntry.h"
|
|
|
|
namespace llvm {
|
|
struct DebugLocList {
|
|
MCSymbol *Label;
|
|
SmallVector<DebugLocEntry, 4> List;
|
|
};
|
|
}
|
|
#endif
|