clang可以传递编译选项给预处理器,汇编器,链接器。
-Wa,<args>
Pass the comma separated arguments in args to the assem-
bler.
-Wl,<args>
Pass the comma separated arguments in args to the linker.
-Wp,<args>
Pass the comma separated arguments in args to the pre-
processor.
查看链接器手册
man ld
查看完整的clang前段选项
clang -cc1 --help