summaryrefslogtreecommitdiffstats
path: root/lld/wasm/InputFiles.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2019-01-17 00:34:44 +0000
committerThomas Lively <tlively@google.com>2019-01-17 00:34:44 +0000
commitd24ae47db657b4ee48ac9540aafcf6475b4b9f85 (patch)
treed322bb7c1a47c9d296fc56b84ea921423eda86f0 /lld/wasm/InputFiles.cpp
parent015585abb2dc68d7bb273ff17bea47cdc77146ec (diff)
Revert "[WebAssembly] Merge producers section"
This reverts commit 71eaf61c6c121c8c3bcaf3490557e92cf81599cb. One of the lld tests was breaking, so revert this change until it is fixed. llvm-svn: 351409
Diffstat (limited to 'lld/wasm/InputFiles.cpp')
-rw-r--r--lld/wasm/InputFiles.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/wasm/InputFiles.cpp b/lld/wasm/InputFiles.cpp
index 1c612cabdc47..e5da23db3773 100644
--- a/lld/wasm/InputFiles.cpp
+++ b/lld/wasm/InputFiles.cpp
@@ -240,8 +240,6 @@ void ObjFile::parse() {
CustomSections.emplace_back(make<InputSection>(Section, this));
CustomSections.back()->setRelocations(Section.Relocations);
CustomSectionsByIndex[SectionIndex] = CustomSections.back();
- if (Section.Name == "producers")
- ProducersSection = &Section;
}
SectionIndex++;
}