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

Patch by A. Skrobov (t.yomitch).

Differential Revision: https://reviews.llvm.org/D62127

llvm-svn: 364648
This commit is contained in:
Krzysztof Parzyszek 2019-06-28 15:08:03 +00:00
parent 405f8fc812
commit 40b88e07e2
1 changed files with 2 additions and 2 deletions

View File

@ -130,11 +130,11 @@ void hexagon::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
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" +