summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetMachine.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-05 18:00:21 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-05 18:00:21 +0000
commitf39297678b212ab5ee7885474762fc8c3f6c370f (patch)
tree82d5072550f1dfd5ced892b2e583bc2db93230d6 /include/llvm/Target/TargetMachine.h
parent9a7cfe5a3a861aaa67cf306dc52298addc2af4e8 (diff)
downloadllvm-f39297678b212ab5ee7885474762fc8c3f6c370f.tar.gz
llvm-f39297678b212ab5ee7885474762fc8c3f6c370f.tar.bz2
llvm-f39297678b212ab5ee7885474762fc8c3f6c370f.tar.xz
Remove support for not using .loc directives.
Clang itself was not using this. The only way to access it was via llc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetMachine.h')
-rw-r--r--include/llvm/Target/TargetMachine.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index c27ffdfcd7..5bf8d01d63 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -85,7 +85,6 @@ protected: // Can only create subclasses.
unsigned MCRelaxAll : 1;
unsigned MCNoExecStack : 1;
unsigned MCSaveTempLabels : 1;
- unsigned MCUseLoc : 1;
unsigned MCUseCFI : 1;
unsigned MCUseDwarfDirectory : 1;
unsigned RequireStructuredCFG : 1;
@@ -182,12 +181,6 @@ public:
/// setMCNoExecStack - Set whether an executabel stack is not needed.
void setMCNoExecStack(bool Value) { MCNoExecStack = Value; }
- /// hasMCUseLoc - Check whether we should use dwarf's .loc directive.
- bool hasMCUseLoc() const { return MCUseLoc; }
-
- /// setMCUseLoc - Set whether all we should use dwarf's .loc directive.
- void setMCUseLoc(bool Value) { MCUseLoc = Value; }
-
/// hasMCUseCFI - Check whether we should use dwarf's .cfi_* directives.
bool hasMCUseCFI() const { return MCUseCFI; }