diff options
| author | Shankar Easwaran <shankare@codeaurora.org> | 2013-03-14 16:09:49 +0000 |
|---|---|---|
| committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-03-14 16:09:49 +0000 |
| commit | 8962feb9155db2b7d7ceabc53f0c57b4e3c889ea (patch) | |
| tree | 07d6602db6dec450a3765b0ff304170bac386eb4 /lld/lib/ReaderWriter/Native/WriterNative.cpp | |
| parent | 0a22bc4156e123d0823b8cbba05a63c626a02ab1 (diff) | |
| download | bcm5719-llvm-8962feb9155db2b7d7ceabc53f0c57b4e3c889ea.tar.gz bcm5719-llvm-8962feb9155db2b7d7ceabc53f0c57b4e3c889ea.zip | |
[lld] remove trailing whitespace
llvm-svn: 177079
Diffstat (limited to 'lld/lib/ReaderWriter/Native/WriterNative.cpp')
| -rw-r--r-- | lld/lib/ReaderWriter/Native/WriterNative.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/lib/ReaderWriter/Native/WriterNative.cpp b/lld/lib/ReaderWriter/Native/WriterNative.cpp index 38fe8f1f874..c968a751128 100644 --- a/lld/lib/ReaderWriter/Native/WriterNative.cpp +++ b/lld/lib/ReaderWriter/Native/WriterNative.cpp @@ -29,7 +29,7 @@ namespace native { class Writer : public lld::Writer { public: Writer(const TargetInfo &ti) {} - + virtual error_code writeFile(const lld::File &file, StringRef outPath) { // reserve first byte for unnamed atoms _stringPool.push_back('\0'); @@ -49,7 +49,7 @@ public: // construct file header based on atom information accumulated this->makeHeader(); - + std::string errorInfo; llvm::raw_fd_ostream out(outPath.data(), errorInfo, llvm::raw_fd_ostream::F_Binary); @@ -57,7 +57,7 @@ public: return error_code::success(); // FIXME this->write(out); - + return error_code::success(); } @@ -437,7 +437,7 @@ private: attrs.interposable = atom.interposable(); attrs.merge = atom.merge(); attrs.contentType = atom.contentType(); - attrs.sectionChoiceAndPosition + attrs.sectionChoiceAndPosition = atom.sectionChoice() << 4 | atom.sectionPosition(); attrs.deadStrip = atom.deadStrip(); attrs.permissions = atom.permissions(); |

