summaryrefslogtreecommitdiffstats
path: root/lld/include/lld/Core/YamlWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/include/lld/Core/YamlWriter.h')
-rw-r--r--lld/include/lld/Core/YamlWriter.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lld/include/lld/Core/YamlWriter.h b/lld/include/lld/Core/YamlWriter.h
index b4c02473133..e950cb4117c 100644
--- a/lld/include/lld/Core/YamlWriter.h
+++ b/lld/include/lld/Core/YamlWriter.h
@@ -10,15 +10,18 @@
#ifndef LLD_CORE_YAML_WRITER_H_
#define LLD_CORE_YAML_WRITER_H_
-#include "lld/Core/File.h"
#include "llvm/Support/raw_ostream.h"
namespace lld {
+
+class Platform;
+class File;
+
namespace yaml {
/// writeObjectText - writes the lld::File object as in YAML
/// format to the specified stream.
- void writeObjectText(const lld::File &, llvm::raw_ostream &);
+ void writeObjectText(const lld::File &, Platform &, llvm::raw_ostream &);
} // namespace yaml
} // namespace lld
OpenPOWER on IntegriCloud