summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2018-04-26 17:34:51 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2018-04-26 17:34:51 +0000
commit3b59a8aba0487819bf445928b7d04b4cf4c946b7 (patch)
tree8a9cc3cbb38249285d714fd819a0e8e5473409cd
parent42c5a9c29a846a82ddb192e3668e3c6bfbe5ba6b (diff)
downloadbcm5719-llvm-3b59a8aba0487819bf445928b7d04b4cf4c946b7.tar.gz
bcm5719-llvm-3b59a8aba0487819bf445928b7d04b4cf4c946b7.zip
Update stale comment in AsmWriter.cpp
Summary: The old comment referred to llvm/IR/Writer.h which doesn't longer exist. This patch replaces it with an up-to-date description of AsmWriter library. Patch by Alex Yursha. Reviewers: gribozavr, vlad.tsyrklevich Reviewed By: vlad.tsyrklevich Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D45895 llvm-svn: 330962
-rw-r--r--llvm/lib/IR/AsmWriter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp
index ad5c92bfdf9..6d3b396d0fd 100644
--- a/llvm/lib/IR/AsmWriter.cpp
+++ b/llvm/lib/IR/AsmWriter.cpp
@@ -7,7 +7,9 @@
//
//===----------------------------------------------------------------------===//
//
-// This library implements the functionality defined in llvm/IR/Writer.h
+// This library implements `print` family of functions in classes like
+// Module, Function, Value, etc. In-memory representation of those classes is
+// converted to IR strings.
//
// Note that these routines must be extremely tolerant of various errors in the
// LLVM code, because it can be used for debugging transformations.
OpenPOWER on IntegriCloud