[Lldb-commits] [PATCH] D89295: [lldb] Add /Users/jonas to Python's	sys.path
    Jonas Devlieghere via Phabricator via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Tue Oct 13 08:35:54 PDT 2020
    
    
  
JDevlieghere added a comment.
I misunderstood what was being asked for. In LLDB there are two places we look for an `.lldbinit` file, in the home directory and in the current working directory. We already add `.` to the system path so I don't think it's that unreasonable to do the same for `$HOME` to be able to use both a relative import to the `.lldbinit` file in both cases.
In Xcode there's an option to specify a custom "LLDB Init File" which is really nothing more than a `HandleCommandsFromFile`. So what they're asking is to be able to use any relative import when sourcing a file.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89295/new/
https://reviews.llvm.org/D89295
    
    
More information about the lldb-commits
mailing list