diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-12-11 22:08:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-12-11 22:08:39 +0000 |
commit | 727747eb29baaf61c5058bae7d9f6c8fa350b96f (patch) | |
tree | 0e9f90be9abeec0aa7ec7ea580476b9aca38871d /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | 7746736ece01cf363112c8583975ac9397ee5826 (diff) | |
download | llvm-727747eb29baaf61c5058bae7d9f6c8fa350b96f.zip llvm-727747eb29baaf61c5058bae7d9f6c8fa350b96f.tar.gz llvm-727747eb29baaf61c5058bae7d9f6c8fa350b96f.tar.bz2 |
Revert "DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers"
This reverts commit r197073.
The test seems to be failing on some buildbots for unknown reasons.
Reverting until I can figure that out. If anyone's got a reproduction
(.s and .o together would be great) - I'd really appreciate it.
llvm-svn: 197079
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index da70728..8ef4a0a 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -9,7 +9,6 @@ #include "llvm/MC/MCObjectFileInfo.h" #include "llvm/ADT/Triple.h" -#include "llvm/ADT/StringExtras.h" #include "llvm/MC/MCContext.h" #include "llvm/MC/MCSection.h" #include "llvm/MC/MCSectionCOFF.h" @@ -719,17 +718,6 @@ void MCObjectFileInfo::InitMCObjectFileInfo(StringRef TT, Reloc::Model relocm, } } -const MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const { - return Ctx->getELFSection(".debug_types", ELF::SHT_PROGBITS, ELF::SHF_GROUP, - SectionKind::getMetadata(), 0, utostr(Hash)); -} - -const MCSection * -MCObjectFileInfo::getDwarfTypesDWOSection(uint64_t Hash) const { - return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_GROUP, 0, - SectionKind::getMetadata(), 0, utostr(Hash)); -} - void MCObjectFileInfo::InitEHFrameSection() { if (Env == IsMachO) EHFrameSection = |