diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2022-01-26 16:58:49 -0800 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2022-01-26 16:59:11 -0800 |
commit | 0303eb3cf26d3c918638b07c1e4f59f13d6f3def (patch) | |
tree | 7bcb0735596d4a3528a873ae09a2728d9acd29a1 /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | 4b3e0d2a7eb7cfc9bc6b8ec97fd42acbf6228614 (diff) | |
download | llvm-0303eb3cf26d3c918638b07c1e4f59f13d6f3def.zip llvm-0303eb3cf26d3c918638b07c1e4f59f13d6f3def.tar.gz llvm-0303eb3cf26d3c918638b07c1e4f59f13d6f3def.tar.bz2 |
Revert "Emit swift5 reflection section data in dsym bundle generated by dsymutil in the Dwarf section."
This reverts commit 50f50f2582993a079dbcfb8e7ba48920f41e6be0.
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 77b0b0e..d7f85f7 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -299,17 +299,6 @@ void MCObjectFileInfo::initMachOMCObjectFileInfo(const Triple &T) { RemarksSection = Ctx->getMachOSection( "__LLVM", "__remarks", MachO::S_ATTR_DEBUG, SectionKind::getMetadata()); - // The architecture of dsymutil makes it very difficult to copy the Swift - // reflection metadata sections into the __TEXT segment, so dsymutil creates - // these sections in the __DWARF segment instead. - if (!Ctx->getSwift5ReflectionSegmentName().empty()) { -#define HANDLE_SWIFT_SECTION(KIND, MACHO, ELF, COFF) \ - Swift5ReflectionSections[llvm::swift::Swift5ReflectionSectionKind::KIND] = \ - Ctx->getMachOSection(Ctx->getSwift5ReflectionSegmentName().data(), \ - MACHO, 0, SectionKind::getMetadata()); -#include "llvm/BinaryFormat/Swift.def" - } - TLSExtraDataSection = TLSTLVSection; } |