[PATCH] D70919: [Hexagon] Avoid passing unsupported options to lld when -fuse-ld=lld is used

Krzysztof Parzyszek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 2 12:25:15 PST 2019


kparzysz added inline comments.


================
Comment at: clang/test/Driver/hexagon-toolchain-elf.c:560
+// CHECK082-NOT:      "-march=hexagon"
+// CHECK082-NOT:      "-mcpu=hexagon"
----------------
I don't think there will ever be `"-mcpu=hexagon"` (including the quotation marks). Maybe this should just check for any `-march` and `-mcpu`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70919





More information about the cfe-commits mailing list