zturner added a comment.

In D56904#1383148 <https://reviews.llvm.org/D56904#1383148>, @aleksandr.urakov 
wrote:

> Ping! What do you think about it?


Generally the change looks good, but I'm not sure why the compiler can't 
properly compile the source file.  I know it's something to do with the 
environment, but it's hard to say what.

One idea would be to add `-###` to the end of your command line when running 
the command manually, and then update the `build.py` script so that it also 
runs `-###` from the command line and prints the output.  Then maybe compare 
the two command lines and see if there's a difference.

Another idea would be to hack up the code in the `build.py` script that 
modifies the child process's environment.  Start with the child environment 
hardcoded to your terminal's environment, and then delete variables until the 
problem reproduces.  That should tell you what environment variable is causing 
the problem.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56904/new/

https://reviews.llvm.org/D56904



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

Reply via email to