This website requires JavaScript.
Explore
Help
Sign In
shylie
/
llvm-project
Watch
1
Star
0
Fork
0
You've already forked llvm-project
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
llvm-project
/
lldb
/
packages
/
Python
/
lldbsuite
/
test
/
functionalities
/
llvm
History
…
..
TestLLVM.py
llvm::sys::path::home_directory() relies on having "HOME" set in the environment and that might not always be set. Our FileSpec class uses this function to resolve any paths that start with "~/" on systems that support home directories as '~'. I have modified FileSpec::ResolveUsername (llvm::SmallVectorImpl<char> &path) to deal with the cases where llvm::sys::path::home_directory() returns false by digging a little further on unix systems and setting "HOME" in the environment so that subsequent calls to llvm::sys::path::home_directory() will succeed.
2016-04-19 23:04:35 +00:00