Issue 143506
Summary Multi-Call command line building error
Labels new issue
Assignees
Reporter lorenz
    I'm using a multicall build of LLVM/Clang (i.e. I have a single binary symlinked to all tools) and I'm running into an issue where if a driver call gets executed out-of-process (either because it gets expanded into multiple cc1 invocations or forced via -fproc-stat-report) the argument parsing breaks.

The multicall binary calls "path/to/clang clang -cc1" (note the duplicate clang), this works for integrated (internal redirection, no execve) cc1 but breaks for out-of-process execution. It works if I invoke the compiler as "path/to/llvm clang" (not using the symlink) as then the tool name is not in the command line twice.

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to