mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add missing section symbol to COFF's .debug_types.dwo.
Should bring the cygwin bots back. I added a triple to the test that was failing so that it would have failed on Linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231882 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb4ffccacb
commit
e58e7e6476
@ -651,7 +651,7 @@ void MCObjectFileInfo::InitCOFFMCObjectFileInfo(Triple T) {
|
||||
".debug_types.dwo",
|
||||
COFF::IMAGE_SCN_MEM_DISCARDABLE | COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
|
||||
COFF::IMAGE_SCN_MEM_READ,
|
||||
SectionKind::getMetadata());
|
||||
SectionKind::getMetadata(), "section_types_dwo");
|
||||
DwarfAbbrevDWOSection = Ctx->getCOFFSection(
|
||||
".debug_abbrev.dwo",
|
||||
COFF::IMAGE_SCN_MEM_DISCARDABLE | COFF::IMAGE_SCN_CNT_INITIALIZED_DATA |
|
||||
|
@ -3,6 +3,9 @@
|
||||
; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: %llc_dwarf -split-dwarf=Enable < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s
|
||||
|
||||
; RUN: llc -mtriple i686-pc-cygwin < %s -filetype=obj | llvm-dwarfdump - | FileCheck %s
|
||||
; RUN: llc -mtriple i686-pc-cygwin -split-dwarf=Enable < %s -filetype=obj | llvm-dwarfdump - | FileCheck --check-prefix=FISSION %s
|
||||
|
||||
; darwin has a workaround for a linker bug so it always emits one line table entry
|
||||
; XFAIL: darwin
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user