diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index ffb6650e66a..151be732112 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -87,7 +87,6 @@ protected: // Can only create subclasses. unsigned MCRelaxAll : 1; unsigned MCNoExecStack : 1; unsigned MCSaveTempLabels : 1; - unsigned MCUseCFI : 1; unsigned MCUseDwarfDirectory : 1; unsigned RequireStructuredCFG : 1; @@ -189,12 +188,6 @@ public: /// setMCNoExecStack - Set whether an executabel stack is not needed. void setMCNoExecStack(bool Value) { MCNoExecStack = Value; } - /// hasMCUseCFI - Check whether we should use dwarf's .cfi_* directives. - bool hasMCUseCFI() const { return MCUseCFI; } - - /// setMCUseCFI - Set whether we should use dwarf's .cfi_* directives. - void setMCUseCFI(bool Value) { MCUseCFI = Value; } - /// hasMCUseDwarfDirectory - Check whether we should use .file directives with /// explicit directories. bool hasMCUseDwarfDirectory() const { return MCUseDwarfDirectory; } diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 325381be88f..741209162a5 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -58,7 +58,6 @@ TargetMachine::TargetMachine(const Target &T, MCRelaxAll(false), MCNoExecStack(false), MCSaveTempLabels(false), - MCUseCFI(true), MCUseDwarfDirectory(false), RequireStructuredCFG(false), Options(Options) {