if (!is64Bit)
Data64bitsDirective = 0; // we can't emit a 64-bit unit
+ // FIXME: Darwin 10 doesn't need this.
+ if (is64Bit)
+ NeedsSetToChangeDiffSize = true;
+
// Use ## as a comment string so that .s files generated by llvm can go
// through the GCC preprocessor without causing an error. This is needed
// because "clang foo.s" runs the C preprocessor, which is usually reserved
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;
}