clang's linker


I have a question, what is the linker program in CLANG? For GCC, I know that it uses , and LLVM uses .

Thanks in advance.

It's OS dependent. Each OS may have a different tool chain. Tools are defined in clang/lib/Driver/Tools.cpp.

-- Jean-Daniel

Both llvm-gcc and clang use the system linker ("ld"). However, in Clang you can define your own ToolChain in the driver to make it do different things.