Closed stsp closed 3 weeks ago
https://reviews.llvm.org/D26213 -Wa,-defsym
is supported. I am testing a patch to add -Wa,--defsym
. Note: when the integrated assembler is enabled, clangDriver implements a small set of popular -Wa, options. I think --defsym
is kinda popular. I personally use --defsym
a lot in assembly tests, especially in lld/test/ELF, though mostly using an internal-facing tool llvm-mc.
Thanks for the patch and a work-around!
-defsym
works for me as well.
@llvm/issue-subscribers-clang-driver
Author: Stas Sergeev (stsp)
With gcc+gas this works as expected.