From 76f74ad696abe882e4ee6466913f554580ec5a59 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sat, 22 Sep 2012 22:58:57 +0000 Subject: [PATCH] On Hexagon getArchName() never returns x86_64, simplify the function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164470 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index d7eaed122d..1276915c70 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -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 { -- 2.40.0