diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-06-17 10:20:52 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2024-06-17 10:20:58 -0700 |
commit | a1994ae6247ddd0374c7eb3a5d421925117833ab (patch) | |
tree | 92c37fbdc29d940b31bce58197d9dde4aaabba6d /llvm/tools/llvm-cov/SourceCoverageView.cpp | |
parent | 7e3507e2f565bfc63d4a3f098ab770dce842ed32 (diff) | |
download | llvm-a1994ae6247ddd0374c7eb3a5d421925117833ab.zip llvm-a1994ae6247ddd0374c7eb3a5d421925117833ab.tar.gz llvm-a1994ae6247ddd0374c7eb3a5d421925117833ab.tar.bz2 |
[lldb] More reliably detect a virtual environment
More reliably detect whether the API tests are running in a virtual
environment by comparing sys.prefix and sys.base_prefix [1].
[1] https://docs.python.org/3/library/sys.html#sys.base_prefix
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions