search for: 15years

Displaying 2 results from an estimated 2 matches for "15years".

Did you mean: 5years
2020 Nov 02
6
unusual use of getenv
...llvm for JIT compilation. Running `ltrace` surfaced a number of `getenv("bar")` calls coming from llvm. It turns out these are not "real" `getenv` calls, but are an optimization "do nothing" escape hatch which have been in `llvm/include/llvm/LinkAllPasses.h` [for over 15years](1) - apparently as a way to prevent the compiler eliminating symbol references to optimization pass initialization functions. I took a look at the code and couldn't really work out what issue is being solved as the commit messages from 2005 have something to be desired ;) I removed the whole...
2020 Nov 02
4
unusual use of getenv
...ning `ltrace` surfaced a number of `getenv("bar")` calls coming from > > llvm. It turns out these are not "real" `getenv` calls, but are an > > optimization "do nothing" escape hatch which have been in > > `llvm/include/llvm/LinkAllPasses.h` [for over 15years](1) - apparently > > as a way to prevent the compiler eliminating symbol references to > > optimization pass initialization functions. I took a look at the code > > and couldn't really work out what issue is being solved as the commit > > messages from 2005 have somethin...