[PATCH] D62127: [Hexagon] driver uses out-of-date option name and binary name

Krzysztof Parzyszek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 08:09:37 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL364648: [Hexagon] driver uses out-of-date option name and binary name (authored by kparzysz, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D62127?vs=200221&id=207067#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62127/new/

https://reviews.llvm.org/D62127

Files:
  cfe/trunk/lib/Driver/ToolChains/Hexagon.cpp


Index: cfe/trunk/lib/Driver/ToolChains/Hexagon.cpp
===================================================================
--- cfe/trunk/lib/Driver/ToolChains/Hexagon.cpp
+++ cfe/trunk/lib/Driver/ToolChains/Hexagon.cpp
@@ -130,11 +130,11 @@
   const Driver &D = HTC.getDriver();
   ArgStringList CmdArgs;
 
-  CmdArgs.push_back("-march=hexagon");
+  CmdArgs.push_back("--arch=hexagon");
 
   RenderExtraToolArgs(JA, CmdArgs);
 
-  const char *AsName = "hexagon-llvm-mc";
+  const char *AsName = "llvm-mc";
   CmdArgs.push_back("-filetype=obj");
   CmdArgs.push_back(Args.MakeArgString(
       "-mcpu=hexagon" +


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62127.207067.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190628/e16af4a1/attachment.bin>


More information about the cfe-commits mailing list