[llvm-dev] Environment variables (original) (raw)

David Greene via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 5 14:12:36 PDT 2018


Is there an LLVM-ish way to handle environment variables? Specifically, I want to check existence and/or value of an environment variable and take appropriate action.

I was kind of surprised that LLVM doesn't seem to have any special/optimized way to deal with environment variables. The one Stackoverflow I found on it suggested using getenv().

Thanks!

              -David


More information about the llvm-dev mailing list