summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-07-05 00:57:50 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-07-05 00:57:50 +0000
commit02b6708e014e8d9f5b703df1a22d05843e8b1c1a (patch)
tree3af8d0112e06b104b35eae6ec7c6a01106b43088 /llvm/lib/Bytecode/Reader/Reader.h
parent21b3a5b0de49bf9fdb8c3e8a74c21b59db875ee4 (diff)
downloadbcm5719-llvm-02b6708e014e8d9f5b703df1a22d05843e8b1c1a.tar.gz
bcm5719-llvm-02b6708e014e8d9f5b703df1a22d05843e8b1c1a.zip
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. llvm-svn: 14627
Diffstat (limited to 'llvm/lib/Bytecode/Reader/Reader.h')
-rw-r--r--llvm/lib/Bytecode/Reader/Reader.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Bytecode/Reader/Reader.h b/llvm/lib/Bytecode/Reader/Reader.h
index 20801da94f6..4720e88a3cf 100644
--- a/llvm/lib/Bytecode/Reader/Reader.h
+++ b/llvm/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
OpenPOWER on IntegriCloud