[Lldb-commits] [PATCH] D56904: [NativePDB] Process virtual bases in the correct order

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 4 11:10:43 PST 2019

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.




More information about the lldb-commits mailing list