-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[llvm][docs] Add LLDB data formatters to DebuggingLLVM.rst #157528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add LLDB data formatters to the document about debugging LLVM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the build error
llvm/docs/DebuggingLLVM.rst
Outdated
provided for some of the core LLVM libraries. To use them, execute the | ||
following (or add it to your ``~/.lldbinit``):: | ||
|
||
command script import /path/to/lldbDataFormatters.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are they part of the llvm-project? In which case I would put the correct relative path
llvm/docs/DebuggingLLVM.rst
Outdated
following (or add it to your ``~/.lldbinit``):: | ||
|
||
command script import /path/to/lldbDataFormatters.py | ||
command script import /path/to/llvm/src/utils/lldbDataFormatters.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just make it utils/...
but either way is ok
I updated both the LLDB and GDB path to be relative to the monorepo root. This hopefully avoid ambiguity and is what I've seen used elsewhere. |
It seems better to use |
|
Add LLDB data formatters to the document about debugging LLVM.