diff options
author | Krasimir Georgiev <krasimir@google.com> | 2018-10-16 18:50:09 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2018-10-16 18:50:09 +0000 |
commit | 547d824da661fedaeeda3a4bcb83a3464fa1b7b9 (patch) | |
tree | 008630b0dc9e8141304feb83e81695e22d98b5fe /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | ae4e75fd6e89cb7706b218f54ea16a0bbdb9a0c2 (diff) | |
download | llvm-547d824da661fedaeeda3a4bcb83a3464fa1b7b9.zip llvm-547d824da661fedaeeda3a4bcb83a3464fa1b7b9.tar.gz llvm-547d824da661fedaeeda3a4bcb83a3464fa1b7b9.tar.bz2 |
Revert "[WebAssembly] LSDA info generation"
This reverts commit r344575.
Newly introduced test eh-lsda.ll.test fails with use-after-free under
ASAN build.
llvm-svn: 344639
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index b1e03f8..edfccfc 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -743,12 +743,6 @@ void MCObjectFileInfo::initWasmMCObjectFileInfo(const Triple &T) { DwarfPubNamesSection = Ctx->getWasmSection(".debug_pubnames", SectionKind::getMetadata()); DwarfPubTypesSection = Ctx->getWasmSection(".debug_pubtypes", SectionKind::getMetadata()); - // Wasm use data section for LSDA. - // TODO Consider putting each function's exception table in a separate - // section, as in -function-sections, to facilitate lld's --gc-section. - LSDASection = Ctx->getWasmSection(".rodata.gcc_except_table", - SectionKind::getReadOnlyWithRel()); - // TODO: Define more sections. } |