aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2018-10-16 18:50:09 +0000
committerKrasimir Georgiev <krasimir@google.com>2018-10-16 18:50:09 +0000
commit547d824da661fedaeeda3a4bcb83a3464fa1b7b9 (patch)
tree008630b0dc9e8141304feb83e81695e22d98b5fe /llvm/lib/MC/MCObjectFileInfo.cpp
parentae4e75fd6e89cb7706b218f54ea16a0bbdb9a0c2 (diff)
downloadllvm-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.cpp6
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.
}