3e457fe321
Change-Id: I19535b913b50f2ff24aeb80ddefc92e305c31fe8
25 lines
470 B
C++
25 lines
470 B
C++
#ifndef BACKPORTS_H
|
|
#define BACKPORTS_H
|
|
|
|
#include <pass.h>
|
|
|
|
using namespace llvm;
|
|
|
|
namespace llvm {
|
|
|
|
class Backports {
|
|
public:
|
|
|
|
//From DbgInfoPrinter.cpp (LLVM 2.9)
|
|
static Value *findDbgGlobalDeclare(GlobalVariable *V);
|
|
static Value *findDbgSubprogramDeclare(Function *V);
|
|
static const DbgDeclareInst *findDbgDeclare(const Value *V);
|
|
|
|
//From Local.cpp (LLVM 2.9)
|
|
static DbgDeclareInst *FindAllocaDbgDeclare(Value *V);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|