diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/LTO/LTOCodeGenerator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/LTO/LTOCodeGenerator.h b/include/llvm/LTO/LTOCodeGenerator.h index 97a5066..c478bd9 100644 --- a/include/llvm/LTO/LTOCodeGenerator.h +++ b/include/llvm/LTO/LTOCodeGenerator.h @@ -38,6 +38,7 @@ #include "llvm-c/lto.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/ADT/StringMap.h" +#include "llvm/ADT/ArrayRef.h" #include "llvm/Linker.h" #include "llvm/Target/TargetOptions.h" #include <string> @@ -48,6 +49,7 @@ namespace llvm { class GlobalValue; class Mangler; class MemoryBuffer; + class TargetLibraryInfo; class TargetMachine; class raw_ostream; } @@ -125,6 +127,7 @@ private: std::string &errMsg); void applyScopeRestrictions(); void applyRestriction(llvm::GlobalValue &GV, + const llvm::ArrayRef<llvm::StringRef> &Libcalls, std::vector<const char*> &MustPreserveList, llvm::SmallPtrSet<llvm::GlobalValue*, 8> &AsmUsed, llvm::Mangler &Mangler); |