Remove MCUseCFI from TargetMachine.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 12 May 2014 13:01:42 +0000 (13:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 12 May 2014 13:01:42 +0000 (13:01 +0000)
It was always true.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208547 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachine.h
lib/Target/TargetMachine.cpp

index ffb6650e66a46a3b0dab29cab240c3700ef7cc04..151be732112f5824a68846793fdeb762e5d2e5ff 100644 (file)
@@ -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; }
index 325381be88fdb018dc3c9eac7abbfaf3fe4b73fd..741209162a5cf897f0f46a7f4902ce9d97a09622 100644 (file)
@@ -58,7 +58,6 @@ TargetMachine::TargetMachine(const Target &T,
     MCRelaxAll(false),
     MCNoExecStack(false),
     MCSaveTempLabels(false),
-    MCUseCFI(true),
     MCUseDwarfDirectory(false),
     RequireStructuredCFG(false),
     Options(Options) {