[llvm-dev] unusual use of getenv

Luke Drummond via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 2 13:07:50 PST 2020


On Mon Nov 2, 2020 at 7:56 PM GMT, Johannes Doerfert wrote:

> Last time I removed the getenv calls, as an Aprils fool joke btw [1],
> I ended up with a compiler that was unable to do a stage 2 build, IIRC.
>
> [1] https://lists.llvm.org/pipermail/llvm-dev/2019-April/131466.html
>
Wonderful! When I asked about this internally, a colleague said they were going
to create a platform where `getenv` can return `-1`.

-- 
Codeplay Software Ltd.
Company registered in England and Wales, number: 04567874
Registered office: Regent House, 316 Beulah Hill, London, SE19 3HF


More information about the llvm-dev mailing list