From: NAKAMURA Takumi Date: Tue, 10 Sep 2013 06:01:56 +0000 (+0000) Subject: MCObjectFileInfo.cpp: Fix a couple of possible typo(s), s/DwarfPub/DwarfGnuPub/,... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c3c9b9b7a8e36e17e629196d33f5c33eb690c2f8;p=oota-llvm.git MCObjectFileInfo.cpp: Fix a couple of possible typo(s), s/DwarfPub/DwarfGnuPub/, in r190344. XFAIL can be removed. (in r190374) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190386 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/MC/MCObjectFileInfo.cpp b/lib/MC/MCObjectFileInfo.cpp index 6d3c4d1f928..c620e8c6eef 100644 --- a/lib/MC/MCObjectFileInfo.cpp +++ b/lib/MC/MCObjectFileInfo.cpp @@ -605,12 +605,12 @@ void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) { COFF::IMAGE_SCN_MEM_DISCARDABLE | COFF::IMAGE_SCN_MEM_READ, SectionKind::getMetadata()); - DwarfPubNamesSection = + DwarfGnuPubNamesSection = Ctx->getCOFFSection(".debug_gnu_pubnames", COFF::IMAGE_SCN_MEM_DISCARDABLE | COFF::IMAGE_SCN_MEM_READ, SectionKind::getMetadata()); - DwarfPubTypesSection = + DwarfGnuPubTypesSection = Ctx->getCOFFSection(".debug_gnu_pubtypes", COFF::IMAGE_SCN_MEM_DISCARDABLE | COFF::IMAGE_SCN_MEM_READ, diff --git a/test/DebugInfo/dwarf-public-names.ll b/test/DebugInfo/dwarf-public-names.ll index bab0680ead7..ee9cbd5d8d1 100644 --- a/test/DebugInfo/dwarf-public-names.ll +++ b/test/DebugInfo/dwarf-public-names.ll @@ -1,8 +1,5 @@ ; REQUIRES: object-emission -; FIXME: llvm-dwarfdump doesn't handle PECOFF. -; XFAIL: cygwin,mingw32,win32 - ; RUN: llc -generate-dwarf-pub-sections=Enable -filetype=obj -o %t.o < %s ; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck %s ; ModuleID = 'dwarf-public-names.cpp'