Currently we have special handling for local lldbinit files in the driver. At the same time, we have an SB API named SourceInitFileInCurrentWorkingDirectory that does the same thing. This patch removes the special handling from the driver and uses the API instead. In addition to the obvious advantages of having one canonical way of doing things and removing code duplication, this change also means that the code path is the same for global and local lldb init files. This is important for another patch I have in the pipeline.
Details
Details
- Reviewers
clayborg labath jingham - Commits
- rZORG803d257a39c6: [Driver] Change the way we deal with local lldbinit files.
rZORGb3511919543b: [Driver] Change the way we deal with local lldbinit files.
rG803d257a39c6: [Driver] Change the way we deal with local lldbinit files.
rGb3511919543b: [Driver] Change the way we deal with local lldbinit files.
rG2edcad7b5982: [Driver] Change the way we deal with local lldbinit files.
rLLDB360077: [Driver] Change the way we deal with local lldbinit files.
rL360077: [Driver] Change the way we deal with local lldbinit files.
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Looks good to me. The way we were working around this thing in the driver always looked like a hack to me.