aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Bytecode/WriteBytecodePass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Bytecode/WriteBytecodePass.h')
-rw-r--r--include/llvm/Bytecode/WriteBytecodePass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Bytecode/WriteBytecodePass.h b/include/llvm/Bytecode/WriteBytecodePass.h
index bd9d42369e..84e491a7d9 100644
--- a/include/llvm/Bytecode/WriteBytecodePass.h
+++ b/include/llvm/Bytecode/WriteBytecodePass.h
@@ -19,6 +19,8 @@ public:
: Out(o), DeleteStream(DS) {
}
+ const char *getPassName() const { return "Bytecode Writer"; }
+
inline ~WriteBytecodePass() {
if (DeleteStream) delete Out;
}