summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-06 14:32:08 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-03-06 14:32:08 +0000
commit9052f50cb4c927fd316bb41b17a950d182c9b945 (patch)
treef9a7d882186ba715e0b4a2478d9099c6c26f758e /llvm/lib/CodeGen/AsmPrinter
parent1bdc2d1874e7035f86e5b9e3d3a6b005f27b8224 (diff)
downloadbcm5719-llvm-9052f50cb4c927fd316bb41b17a950d182c9b945.tar.gz
bcm5719-llvm-9052f50cb4c927fd316bb41b17a950d182c9b945.zip
[Remarks] Refactor remark diagnostic emission in a RemarkStreamer
This allows us to store more info about where we're emitting the remarks without cluttering LLVMContext. This is needed for future support for the remark section. Differential Revision: https://reviews.llvm.org/D58996 llvm-svn: 355507
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 5319519ddc0..7d95c4d7be7 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -78,6 +78,7 @@
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Operator.h"
+#include "llvm/IR/RemarkStreamer.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "llvm/MC/MCAsmInfo.h"
OpenPOWER on IntegriCloud