]> granicus.if.org Git - clang/commitdiff
On Hexagon getArchName() never returns x86_64, simplify the function.
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 22 Sep 2012 22:58:57 +0000 (22:58 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 22 Sep 2012 22:58:57 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164470 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index d7eaed122dfdc3073a6767186eff8a50d29dad15..1276915c701fa05744b856cb2cefc45cff66d438 100644 (file)
@@ -1480,9 +1480,7 @@ Tool &Hexagon_TC::SelectTool(const Compilation &C,
 }
 
 bool Hexagon_TC::IsUnwindTablesDefault() const {
-  // FIXME: Gross; we should probably have some separate target
-  // definition, possibly even reusing the one in clang.
-  return getArchName() == "x86_64";
+  return false;
 }
 
 const char *Hexagon_TC::GetDefaultRelocationModel() const {