mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Remove the darwin gdb option, that version of gdb is now dead and
the rest of the compatibility should be done on a dwarf-N level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -84,14 +84,6 @@ DwarfAccelTables("dwarf-accel-tables", cl::Hidden,
|
||||
clEnumVal(Disable, "Disabled"), clEnumValEnd),
|
||||
cl::init(Default));
|
||||
|
||||
static cl::opt<DefaultOnOff>
|
||||
DarwinGDBCompat("darwin-gdb-compat", cl::Hidden,
|
||||
cl::desc("Compatibility with Darwin gdb."),
|
||||
cl::values(clEnumVal(Default, "Default for platform"),
|
||||
clEnumVal(Enable, "Enabled"),
|
||||
clEnumVal(Disable, "Disabled"), clEnumValEnd),
|
||||
cl::init(Default));
|
||||
|
||||
static cl::opt<DefaultOnOff>
|
||||
SplitDwarf("split-dwarf", cl::Hidden,
|
||||
cl::desc("Output prototype dwarf split debug info."),
|
||||
@ -206,11 +198,6 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
|
||||
// and handle split dwarf.
|
||||
bool IsDarwin = Triple(A->getTargetTriple()).isOSDarwin();
|
||||
|
||||
if (DarwinGDBCompat == Default)
|
||||
IsDarwinGDBCompat = IsDarwin;
|
||||
else
|
||||
IsDarwinGDBCompat = DarwinGDBCompat == Enable;
|
||||
|
||||
if (DwarfAccelTables == Default)
|
||||
HasDwarfAccelTables = IsDarwin;
|
||||
else
|
||||
@ -1898,10 +1885,10 @@ void DwarfDebug::emitSectionLabels() {
|
||||
DwarfLineSectionSym =
|
||||
emitSectionSym(Asm, TLOF.getDwarfLineSection(), "section_line");
|
||||
emitSectionSym(Asm, TLOF.getDwarfLocSection());
|
||||
if (HasDwarfPubSections)
|
||||
if (HasDwarfPubSections) {
|
||||
emitSectionSym(Asm, TLOF.getDwarfPubNamesSection());
|
||||
if (useDarwinGDBCompat() || HasDwarfPubSections)
|
||||
emitSectionSym(Asm, TLOF.getDwarfPubTypesSection());
|
||||
}
|
||||
DwarfStrSectionSym =
|
||||
emitSectionSym(Asm, TLOF.getDwarfStrSection(), "info_string");
|
||||
if (useSplitDwarf()) {
|
||||
|
Reference in New Issue
Block a user