[PATCH] D31496: Make -defsym a driver option

Salman Arif via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 30 08:09:38 PDT 2017


salari01 created this revision.

Extended the integrated assembler -Wa,-defsym option to be usable with the Clang driver. Both options are    handled in the same way. Using -defsym when not assembling files shows an unused argument warning.


https://reviews.llvm.org/D31496

Files:
  include/clang/Driver/CC1Options.td
  include/clang/Driver/Options.td
  lib/Driver/ToolChains/Clang.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/defsym.c
  test/Driver/defsym.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31496.93480.patch
Type: text/x-patch
Size: 8798 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170330/af94c86c/attachment.bin>


More information about the cfe-commits mailing list