aboutsummaryrefslogtreecommitdiff
path: root/tools/llc/StubMaker.h
blob: 27e1e55d7f3acd105e6a5b8980f574e00f3890ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __STUB_MAKER_H
#define __STUB_MAKER_H

#include "llvm/ADT/SmallVector.h"

namespace llvm {

class Module;
class Triple;
class ELFStub;

// For module M, make all required ELF stubs and insert them into StubList.
void MakeAllStubs(const Module &M,
                  const Triple &T,
                  SmallVectorImpl<ELFStub*> *StubList);
void FreeStubList(SmallVectorImpl<ELFStub*> *StubList);

}

#endif