mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
a1514e24cc
missed in the first pass because the script didn't yet handle include guards. Note that the script is now able to handle all of these headers without manual edits. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169224 91177308-0d34-0410-b5e6-96231b3b80d8
47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
//===-- X86coffmachinemoduleinfo.h - X86 COFF MMI Impl ----------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This is an MMI implementation for X86 COFF (windows) targets.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef X86COFF_MACHINEMODULEINFO_H
|
|
#define X86COFF_MACHINEMODULEINFO_H
|
|
|
|
#include "X86MachineFunctionInfo.h"
|
|
#include "llvm/ADT/DenseSet.h"
|
|
#include "llvm/CodeGen/MachineModuleInfo.h"
|
|
|
|
namespace llvm {
|
|
class X86MachineFunctionInfo;
|
|
class DataLayout;
|
|
|
|
/// X86COFFMachineModuleInfo - This is a MachineModuleInfoImpl implementation
|
|
/// for X86 COFF targets.
|
|
class X86COFFMachineModuleInfo : public MachineModuleInfoImpl {
|
|
DenseSet<MCSymbol const *> Externals;
|
|
public:
|
|
X86COFFMachineModuleInfo(const MachineModuleInfo &) {}
|
|
virtual ~X86COFFMachineModuleInfo();
|
|
|
|
void addExternalFunction(MCSymbol* Symbol) {
|
|
Externals.insert(Symbol);
|
|
}
|
|
|
|
typedef DenseSet<MCSymbol const *>::const_iterator externals_iterator;
|
|
externals_iterator externals_begin() const { return Externals.begin(); }
|
|
externals_iterator externals_end() const { return Externals.end(); }
|
|
};
|
|
|
|
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif
|