[PATCH] D62127: [Hexagon] driver uses out-of-date option name and binary name
A. Skrobov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 20 02:12:11 PDT 2019
t.yomitch created this revision.
t.yomitch added reviewers: kparzysz, sidneym, sgundapa.
Herald added a project: clang.
Repository:
rC Clang
https://reviews.llvm.org/D62127
Files:
lib/Driver/ToolChains/Hexagon.cpp
Index: lib/Driver/ToolChains/Hexagon.cpp
===================================================================
--- lib/Driver/ToolChains/Hexagon.cpp
+++ 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.200221.patch
Type: text/x-patch
Size: 577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190520/49d6fa0e/attachment.bin>
More information about the cfe-commits
mailing list