From: Rafael Espindola Date: Mon, 12 May 2014 13:01:42 +0000 (+0000) Subject: Remove MCUseCFI from TargetMachine. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=7b6f59e8f64432d01ba2b7dc9985c5d27bd26e5b;p=oota-llvm.git Remove MCUseCFI from TargetMachine. It was always true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208547 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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) {