diff options
Diffstat (limited to 'tools/llvm-link/llvm-link.cpp')
-rw-r--r-- | tools/llvm-link/llvm-link.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp index 343b36cefc..223475eed8 100644 --- a/tools/llvm-link/llvm-link.cpp +++ b/tools/llvm-link/llvm-link.cpp @@ -59,7 +59,9 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) { std::string ErrorMessage; if (Filename.exists()) { if (Verbose) cerr << "Loading '" << Filename.c_str() << "'\n"; - Module* Result = ParseBytecodeFile(Filename.toString(), &ErrorMessage); + Module* Result = ParseBytecodeFile(Filename.toString(), + Compressor::decompressToNewBuffer, + &ErrorMessage); if (Result) return std::auto_ptr<Module>(Result); // Load successful! if (Verbose) { |