mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 15:13:49 -04:00
Revert "[WebAssembly] LSDA info generation"
This reverts commit r344575. Newly introduced test eh-lsda.ll.test fails with use-after-free under ASAN build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344639 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user