clang可以传递编译选项给预处理器,汇编器,链接器。

    1. -Wa,<args>
    2. Pass the comma separated arguments in args to the assem-
    3. bler.
    4. -Wl,<args>
    5. Pass the comma separated arguments in args to the linker.
    6. -Wp,<args>
    7. Pass the comma separated arguments in args to the pre-
    8. processor.

    查看链接器手册

    1. man ld

    查看完整的clang前段选项

    1. clang -cc1 --help