diff options
author | Owen Anderson <resistor@mac.com> | 2008-08-21 00:14:44 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-08-21 00:14:44 +0000 |
commit | cb3718832375a581c5ea23f15918f3ea447a446c (patch) | |
tree | a72c740cc8590cd63825fcf08f71c5e2f625ca55 /tools/lto/LTOCodeGenerator.h | |
parent | f4a97da4072a2ee4aca3c668a9fa113c06fdef8d (diff) | |
download | external_llvm-cb3718832375a581c5ea23f15918f3ea447a446c.zip external_llvm-cb3718832375a581c5ea23f15918f3ea447a446c.tar.gz external_llvm-cb3718832375a581c5ea23f15918f3ea447a446c.tar.bz2 |
Use raw_ostream throughout the AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOCodeGenerator.h')
-rw-r--r-- | tools/lto/LTOCodeGenerator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/lto/LTOCodeGenerator.h b/tools/lto/LTOCodeGenerator.h index d3a2b6b..7a93152 100644 --- a/tools/lto/LTOCodeGenerator.h +++ b/tools/lto/LTOCodeGenerator.h @@ -25,6 +25,8 @@ // // C++ class which implements the opaque lto_code_gen_t // + +class llvm::raw_ostream; class LTOCodeGenerator { public: static const char* getVersionString(); @@ -41,8 +43,8 @@ public: const void* compile(size_t* length, std::string& errMsg); void setCodeGenDebugOptions(const char *opts); private: - bool generateAssemblyCode(std::ostream& out, - std::string& errMsg); + bool generateAssemblyCode(llvm::raw_ostream& out, + std::string& errMsg); bool assemble(const std::string& asmPath, const std::string& objPath, std::string& errMsg); void applyScopeRestrictions(); |