X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FIR%2FAutoUpgrade.h;h=a4b3c410c4f652ee8848829133a1c3653051ffc5;hb=baa8ef1276a1cb4388bd06035ba07f5483667900;hp=076ed4acff0a7bb22a5b5d2a4fcb95b67a9dbe08;hpb=f8aca1d3f1a4ab7d5a718aa5e0b5d34d38e948e7;p=oota-llvm.git diff --git a/include/llvm/IR/AutoUpgrade.h b/include/llvm/IR/AutoUpgrade.h index 076ed4acff0..a4b3c410c4f 100644 --- a/include/llvm/IR/AutoUpgrade.h +++ b/include/llvm/IR/AutoUpgrade.h @@ -14,6 +14,8 @@ #ifndef LLVM_IR_AUTOUPGRADE_H #define LLVM_IR_AUTOUPGRADE_H +#include + namespace llvm { class CallInst; class Constant; @@ -61,6 +63,9 @@ namespace llvm { /// Check the debug info version number, if it is out-dated, drop the debug /// info. Return true if module is modified. bool UpgradeDebugInfo(Module &M); + + /// Upgrade a metadata string constant in place. + void UpgradeMDStringConstant(std::string &String); } // End llvm namespace #endif