diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-09 13:08:00 +0000 | 
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-01-09 13:08:00 +0000 | 
| commit | c5bf572993db4492cd2a5693b16485d17c818262 (patch) | |
| tree | 8de51981a440e9a9cb981445a125db33c64ec9da /llvm/lib/MC | |
| parent | 431993b57bac7bad8c2e31444b269f9d44f4d130 (diff) | |
| download | bcm5719-llvm-c5bf572993db4492cd2a5693b16485d17c818262.tar.gz bcm5719-llvm-c5bf572993db4492cd2a5693b16485d17c818262.zip  | |
Revert r198851, "Prototype of skeleton type units for fission"
It caused undefined behavior. DwarfTypeUnit::Ty might not be initialized properly, I guess.
llvm-svn: 198865
Diffstat (limited to 'llvm/lib/MC')
| -rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 4cc872ec0e7..5d7a5f88632 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -726,9 +726,8 @@ const MCSection *MCObjectFileInfo::getDwarfTypesSection(uint64_t Hash) const {  const MCSection *  MCObjectFileInfo::getDwarfTypesDWOSection(uint64_t Hash) const { -  return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_PROGBITS, -                            ELF::SHF_GROUP, SectionKind::getMetadata(), 0, -                            utostr(Hash)); +  return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_GROUP, 0, +                            SectionKind::getMetadata(), 0, utostr(Hash));  }  void MCObjectFileInfo::InitEHFrameSection() {  | 

