mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Disable debug info for x86-darwin9 and earlier until PR 8715 and radar 8709290 are fixed.
llvm-svn: 120580
This commit is contained in:
parent
56229e127d
commit
e68cb5a5cf
@ -67,6 +67,20 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
|
|||||||
SupportsDebugInformation = true;
|
SupportsDebugInformation = true;
|
||||||
DwarfUsesInlineInfoSection = 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
|
// Exceptions handling
|
||||||
ExceptionsType = ExceptionHandling::Dwarf;
|
ExceptionsType = ExceptionHandling::Dwarf;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user