After rGb4a99a061f517e60985667e39519f60186cbb469, passing a response file such as -Wp,@a.rsp wasn't working anymore because .rsp expansion happens inside clang's main() function.
I'm noticing along the way that explicit arguments in -Wp are parsed in the driver, whereas arguments inside a response file are parsed in the -cc1 tool. Is that the desired behavior? This was the previous behavior but I'm not sure it's the right behavior.
This looks pretty hacky.
Can you explain more what the current problem is and how you're proposing to fix it? I'm not familiar with the -Wp flag and how it relates to response files.