commit | 355997304ae61097e96e981da9ec9ab475e87133 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Wed Mar 13 15:15:23 2013 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Wed Mar 13 15:15:23 2013 -0700 |
tree | 846982aeec14a8c4eb3e7f289cc3f5340842ca94 | |
parent | 54d22c2bb47da44ef586b9de94749d5648178a26 [diff] [blame] |
Add bitcode dumping to LlvmCompilationUnit Change-Id: I6d3492c00d0f0c1c56b64a4b431a3e7b48d7a583
diff --git a/src/compiler/llvm/llvm_compilation_unit.h b/src/compiler/llvm/llvm_compilation_unit.h index c632046..d96e778 100644 --- a/src/compiler/llvm/llvm_compilation_unit.h +++ b/src/compiler/llvm/llvm_compilation_unit.h
@@ -123,6 +123,9 @@ void CheckCodeAlign(uint32_t offset) const; + void DumpBitcodeToFile(); + void DumpBitcodeToString(std::string& str_buffer); + bool MaterializeToString(std::string& str_buffer); bool MaterializeToRawOStream(::llvm::raw_ostream& out_stream);