forked from OSchip/llvm-project
[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:
parent
405f8fc812
commit
40b88e07e2
|
@ -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" +
|
||||
|
|
Loading…
Reference in New Issue