summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-10-15 20:58:55 +0000
committerAdrian Prantl <aprantl@apple.com>2015-10-15 20:58:55 +0000
commit96b1551d537902b498692ee925fc1c2ddb5cfb6a (patch)
tree4fdd53d9b4e4351335289869d655ff3f5d23fe25 /llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
parent2317d0d4d62fe41a35d686e26e459cbe1185752a (diff)
downloadbcm5719-llvm-96b1551d537902b498692ee925fc1c2ddb5cfb6a.tar.gz
bcm5719-llvm-96b1551d537902b498692ee925fc1c2ddb5cfb6a.zip
Replace a forward declaration with an #include.
When building with modules the forward-declared inner class DebugLocStream::ListBuilder causes clang to fall over. llvm-svn: 250459
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
index afffa839a60..bbe53249a08 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
@@ -9,6 +9,8 @@
#ifndef LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H
#define LLVM_LIB_CODEGEN_ASMPRINTER_DEBUGLOCENTRY_H
+
+#include "DebugLocStream.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfo.h"
@@ -17,7 +19,6 @@
namespace llvm {
class AsmPrinter;
-class DebugLocStream;
/// \brief This struct describes location entries emitted in the .debug_loc
/// section.
OpenPOWER on IntegriCloud