[PATCH] D41713: [Myriad] Remove invalidated -elf flag for MoviAsm
Walter Lee via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 3 13:30:09 PST 2018
waltl created this revision.
waltl added a reviewer: jyknight.
The flag has been deprecated, and is becoming invalid in the latest
MDK.
https://reviews.llvm.org/D41713
Files:
clang/lib/Driver/ToolChains/Myriad.cpp
clang/test/Driver/myriad-toolchain.c
Index: clang/test/Driver/myriad-toolchain.c
===================================================================
--- clang/test/Driver/myriad-toolchain.c
+++ clang/test/Driver/myriad-toolchain.c
@@ -41,7 +41,7 @@
// RUN: | FileCheck %s -check-prefix=MOVICOMPILE
// MOVICOMPILE: moviCompile{{(.exe)?}}" "-S" "-fno-exceptions" "-DMYRIAD2" "-mcpu=myriad2.2" "-isystem" "somewhere" "-I" "common"
// MOVICOMPILE: moviAsm{{(.exe)?}}" "-no6thSlotCompression" "-cv:myriad2.2" "-noSPrefixing" "-a"
-// MOVICOMPILE: "-yippee" "-i:somewhere" "-i:common" "-elf"
+// MOVICOMPILE: "-yippee" "-i:somewhere" "-i:common"
// RUN: %clang -target shave-myriad -c -### %s -DEFINE_ME -UNDEFINE_ME 2>&1 \
// RUN: | FileCheck %s -check-prefix=DEFINES
Index: clang/lib/Driver/ToolChains/Myriad.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Myriad.cpp
+++ clang/lib/Driver/ToolChains/Myriad.cpp
@@ -107,7 +107,6 @@
CmdArgs.push_back(
Args.MakeArgString(std::string("-i:") + A->getValue(0)));
}
- CmdArgs.push_back("-elf"); // Output format.
CmdArgs.push_back(II.getFilename());
CmdArgs.push_back(
Args.MakeArgString(std::string("-o:") + Output.getFilename()));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41713.128557.patch
Type: text/x-patch
Size: 1234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180103/adae92ac/attachment.bin>
More information about the cfe-commits
mailing list