Clarification on -pipe in Clang

Hi,

I noticed clang has an option
% clang --help-hidden | grep “-pipe”
-pipe Use pipes between commands, when possible

But from my understanding, Clang doesn’t really need this option because everything “command” or phase should happen in memory.

On GCC, the option is described:
“Use pipes rather than temporary files for communication between the various stages of compilation. This fails to work on some systems where the assembler is unable to read from a pipe; but the GNU assembler has no trouble.”

Does this behavior translate over to Clang? Can someone clarify if this option is useful today?

Thanks!

1 Like

It’s always ignored.

In that case shouldn’t the help string indicate that the option is ignored?