Hi,
There are places in llvm/test/lit.cfg and clang/test/lit.cfg where llvm-config and/or clang are invoked without using config.enviroment which means that environment variables like ASAN_OPTIONS, INCLUDE, ... will not be available. I noticed this when running a hacked tool that needed particular ASAN_OPTIONS to run correctly. Patches attached, but I don't know how to write a regression test that works in the normal case since the changed code runs before the lit tests. Suggestions appreciated. [I have sent this to both llvm-commits and cfe-commits because the changes are analogous. My apologies if that was not the right thing to do.]
llvm-lit-cfg-env.patch
Description: Binary data
clang-lit-cfg-env.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
