[PATCH] D45895: Update stale comment in AsmWriter.cpp
Alex Yursha via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 20 12:12:26 PDT 2018
yursha created this revision.
yursha added reviewers: gribozavr, vlad.tsyrklevich.
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.
Repository:
rL LLVM
https://reviews.llvm.org/D45895
Files:
lib/IR/AsmWriter.cpp
Index: lib/IR/AsmWriter.cpp
===================================================================
--- lib/IR/AsmWriter.cpp
+++ 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45895.143361.patch
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180420/f6fbb430/attachment.bin>
More information about the llvm-commits
mailing list