diff options
| author | Nick Kledzik <kledzik@apple.com> | 2012-01-16 22:03:44 +0000 |
|---|---|---|
| committer | Nick Kledzik <kledzik@apple.com> | 2012-01-16 22:03:44 +0000 |
| commit | 55fd6beb005ada808f50a765f356991e986599d5 (patch) | |
| tree | ec094579c237fe957891547fffbaca2b6fcc0f9b /lld/lib/Core/YamlWriter.cpp | |
| parent | 81ce08c983f9cfa8a60cc41427703f58d6ebc7a6 (diff) | |
| download | bcm5719-llvm-55fd6beb005ada808f50a765f356991e986599d5.tar.gz bcm5719-llvm-55fd6beb005ada808f50a765f356991e986599d5.zip | |
First chunk of native object file reader/writer. The lld-core tool now reads YAML file, links, writes that out as native object format, then reads that native file, then writes the YAML to stdout. Thus the test suite tests both YAML reading/writing as well as native object file reading/writing.
llvm-svn: 148256
Diffstat (limited to 'lld/lib/Core/YamlWriter.cpp')
| -rw-r--r-- | lld/lib/Core/YamlWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/YamlWriter.cpp b/lld/lib/Core/YamlWriter.cpp index 3e30c0a4260..e5f0b1c44c3 100644 --- a/lld/lib/Core/YamlWriter.cpp +++ b/lld/lib/Core/YamlWriter.cpp @@ -195,7 +195,7 @@ private: bool _firstAtom; }; -void writeObjectText(File &file, llvm::raw_ostream &out) { +void writeObjectText(const File &file, llvm::raw_ostream &out) { Handler h(out); out << "---\n"; out << "atoms:\n"; |

