diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:49 +0000 |
commit | e2fd426bdafe9f5c10066d3926ece6e342184a67 (patch) | |
tree | bfbbb5fd38554e6b8988b7a217e9fd0623728d7d /wasm/OutputSections.h | |
parent | 84c4061b34e048f47e5eb4fbabc1558495e8157c (diff) |
Notes
Diffstat (limited to 'wasm/OutputSections.h')
-rw-r--r-- | wasm/OutputSections.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/wasm/OutputSections.h b/wasm/OutputSections.h index 189d6507c4b3f..6c5baa309a98c 100644 --- a/wasm/OutputSections.h +++ b/wasm/OutputSections.h @@ -13,11 +13,9 @@ #include "InputChunks.h" #include "WriterUtils.h" #include "lld/Common/ErrorHandler.h" +#include "lld/Common/LLVM.h" #include "llvm/ADT/DenseMap.h" -using llvm::raw_ostream; -using llvm::raw_string_ostream; - namespace lld { namespace wasm { @@ -82,7 +80,7 @@ public: std::string Body; protected: - raw_string_ostream BodyOutputStream; + llvm::raw_string_ostream BodyOutputStream; }; class CodeSection : public OutputSection { @@ -113,7 +111,7 @@ protected: size_t BodySize = 0; }; -// Represents a custom section in the output file. Wasm custom sections are +// Represents a custom section in the output file. Wasm custom sections are // used for storing user-defined metadata. Unlike the core sections types // they are identified by their string name. // The linker combines custom sections that have the same name by simply |