mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Disable debug info for x86-darwin9 and earlier until PR 8715 and radar 8709290 are fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120580 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75a08e6aac
commit
056745cab6
@ -67,6 +67,20 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
|
||||
SupportsDebugInformation = true;
|
||||
DwarfUsesInlineInfoSection = true;
|
||||
|
||||
// Disable debugging information for older targets that do not support
|
||||
// .loc and are broken by regressions in .debug_line entries.
|
||||
if (Triple.getOS() == Triple::Darwin) {
|
||||
switch (Triple.getDarwinMajorNumber()) {
|
||||
case 7:
|
||||
case 8:
|
||||
case 9:
|
||||
SupportsDebugInformation = false;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// Exceptions handling
|
||||
ExceptionsType = ExceptionHandling::Dwarf;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user