summaryrefslogtreecommitdiff
path: root/tools/llc/llc.cpp
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 /tools/llc/llc.cpp
parent9a7cfe5a3a861aaa67cf306dc52298addc2af4e8 (diff)
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 'tools/llc/llc.cpp')
-rw-r--r--tools/llc/llc.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 225a490d536..a3bd72347d6 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -288,9 +288,6 @@ static int compileModule(char **argv, LLVMContext &Context) {
assert(mod && "Should have exited after outputting help!");
TargetMachine &Target = *target.get();
- if (DisableDotLoc)
- Target.setMCUseLoc(false);
-
if (DisableCFI)
Target.setMCUseCFI(false);
@@ -300,11 +297,6 @@ static int compileModule(char **argv, LLVMContext &Context) {
if (GenerateSoftFloatCalls)
FloatABIForCalls = FloatABI::Soft;
- // Disable .loc support for older OS X versions.
- if (TheTriple.isMacOSX() &&
- TheTriple.isMacOSXVersionLT(10, 6))
- Target.setMCUseLoc(false);
-
// Figure out where we are going to send the output.
OwningPtr<tool_output_file> Out
(GetOutputStream(TheTarget->getName(), TheTriple.getOS(), argv[0]));