diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-07-05 00:57:50 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-07-05 00:57:50 +0000 |
commit | 5c15fe5cf8a5f8934baa17d77b8f8065224cd43e (patch) | |
tree | 3096dd57c1badf2062fe35787e67ae5a51ca03e6 /lib/Bytecode/Reader/Reader.h | |
parent | c156095b174987226a94583cb7e10c426dddaea6 (diff) |
Finalize bytecode dumping. The "handleFinish" method was getting called
too soon so the function data was not getting dumped (it was generated
after the call handleFinish). Also cleaned up the output format for
proper indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/Reader.h')
-rw-r--r-- | lib/Bytecode/Reader/Reader.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h index 20801da94f..4720e88a3c 100644 --- a/lib/Bytecode/Reader/Reader.h +++ b/lib/Bytecode/Reader/Reader.h @@ -127,9 +127,10 @@ public: public: /// @brief Main interface to parsing a bytecode buffer. void ParseBytecode( - const unsigned char *Buf, ///< Beginning of the bytecode buffer - unsigned Length, ///< Length of the bytecode buffer - const std::string &ModuleID ///< An identifier for the module constructed. + const unsigned char *Buf, ///< Beginning of the bytecode buffer + unsigned Length, ///< Length of the bytecode buffer + const std::string &ModuleID, ///< An identifier for the module constructed. + bool processFunctions=false ///< Process all function bodies fully. ); /// @brief Parse all function bodies |