diff options
Diffstat (limited to 'lib/Bytecode/Reader/ReaderWrappers.cpp')
-rw-r--r-- | lib/Bytecode/Reader/ReaderWrappers.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Bytecode/Reader/ReaderWrappers.cpp b/lib/Bytecode/Reader/ReaderWrappers.cpp index b8c8b4a..fccbbe7 100644 --- a/lib/Bytecode/Reader/ReaderWrappers.cpp +++ b/lib/Bytecode/Reader/ReaderWrappers.cpp @@ -374,7 +374,8 @@ void getSymbols(Module*M, std::vector<std::string>& symbols) { bool llvm::GetBytecodeSymbols(const sys::Path& fName, std::vector<std::string>& symbols) { try { - std::auto_ptr<ModuleProvider> AMP( getBytecodeModuleProvider(fName.get())); + std::auto_ptr<ModuleProvider> AMP( + getBytecodeModuleProvider(fName.toString())); // Get the module from the provider Module* M = AMP->materializeModule(); |