mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
MCObjectFileInfo.cpp: Fix a couple of possible typo(s), s/DwarfPub/DwarfGnuPub/, in r190344.
XFAIL can be removed. (in r190374) llvm-svn: 190386
This commit is contained in:
parent
aaf9a88c18
commit
4385652893
@ -605,12 +605,12 @@ void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) {
|
|||||||
COFF::IMAGE_SCN_MEM_DISCARDABLE |
|
COFF::IMAGE_SCN_MEM_DISCARDABLE |
|
||||||
COFF::IMAGE_SCN_MEM_READ,
|
COFF::IMAGE_SCN_MEM_READ,
|
||||||
SectionKind::getMetadata());
|
SectionKind::getMetadata());
|
||||||
DwarfPubNamesSection =
|
DwarfGnuPubNamesSection =
|
||||||
Ctx->getCOFFSection(".debug_gnu_pubnames",
|
Ctx->getCOFFSection(".debug_gnu_pubnames",
|
||||||
COFF::IMAGE_SCN_MEM_DISCARDABLE |
|
COFF::IMAGE_SCN_MEM_DISCARDABLE |
|
||||||
COFF::IMAGE_SCN_MEM_READ,
|
COFF::IMAGE_SCN_MEM_READ,
|
||||||
SectionKind::getMetadata());
|
SectionKind::getMetadata());
|
||||||
DwarfPubTypesSection =
|
DwarfGnuPubTypesSection =
|
||||||
Ctx->getCOFFSection(".debug_gnu_pubtypes",
|
Ctx->getCOFFSection(".debug_gnu_pubtypes",
|
||||||
COFF::IMAGE_SCN_MEM_DISCARDABLE |
|
COFF::IMAGE_SCN_MEM_DISCARDABLE |
|
||||||
COFF::IMAGE_SCN_MEM_READ,
|
COFF::IMAGE_SCN_MEM_READ,
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
; REQUIRES: object-emission
|
; 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: llc -generate-dwarf-pub-sections=Enable -filetype=obj -o %t.o < %s
|
||||||
; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck %s
|
; RUN: llvm-dwarfdump -debug-dump=pubnames %t.o | FileCheck %s
|
||||||
; ModuleID = 'dwarf-public-names.cpp'
|
; ModuleID = 'dwarf-public-names.cpp'
|
||||||
|
Loading…
Reference in New Issue
Block a user