r238106 - [Driver] Unbreak hexagon build bots

David Majnemer david.majnemer at gmail.com
Sat May 23 12:23:55 PDT 2015


Author: majnemer
Date: Sat May 23 14:23:55 2015
New Revision: 238106

URL: http://llvm.org/viewvc/llvm-project?rev=238106&view=rev
Log:
[Driver] Unbreak hexagon build bots

AddHexagonTargetArgs didn't respect the driver flags by unconditionally
pushing -fno-signed-char.  Instead, add Hexagon handling to
isSignedCharDefault.

Modified:
    cfe/trunk/lib/Driver/Tools.cpp

Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=238106&r1=238105&r2=238106&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Sat May 23 14:23:55 2015
@@ -497,6 +497,7 @@ static bool isSignedCharDefault(const ll
       return true;
     return false;
 
+  case llvm::Triple::hexagon:
   case llvm::Triple::ppc64le:
   case llvm::Triple::systemz:
   case llvm::Triple::xcore:
@@ -1746,7 +1747,6 @@ void Clang::AddX86TargetArgs(const ArgLi
 
 void Clang::AddHexagonTargetArgs(const ArgList &Args,
                                  ArgStringList &CmdArgs) const {
-  CmdArgs.push_back("-fno-signed-char");
   CmdArgs.push_back("-mqdsp6-compat");
   CmdArgs.push_back("-Wreturn-type");
 





More information about the cfe-commits mailing list