[Lldb-commits] [PATCH] D110601: Add -relative-to-command-file to "command source"

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 27 17:57:54 PDT 2021


jingham created this revision.
jingham added a reviewer: JDevlieghere.
Herald added a subscriber: dang.
jingham requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

This option was recently added to "command script import" so that an "organizing" command file can find python script files relative to itself.  It's natural to extend this to command files as well as script source files for much the same reason.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110601

Files:
  lldb/source/Commands/CommandObjectCommands.cpp
  lldb/source/Commands/Options.td
  lldb/test/API/commands/command/source/TestCommandSource.py
  lldb/test/API/commands/command/source/commands2.txt
  lldb/test/API/commands/command/source/subdir/subcmds.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110601.375446.patch
Type: text/x-patch
Size: 4580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210928/a3a3edbe/attachment.bin>


More information about the lldb-commits mailing list