arichardson created this revision.
arichardson added a reviewer: LLDB.
Herald added a project: All.
arichardson requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This makes it much easier to debug LLVM/Clang when using an IDE such as
CLion that defaults to using the project root directory as the CWD for
run targets and therefore allows for this file to be loaded. The only
thing that needs to be configured manually is setting
`settings set target.load-cwd-lldbinit true` in ~/.lldbinit


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141219

Files:
  .lldbinit


Index: .lldbinit
===================================================================
--- /dev/null
+++ .lldbinit
@@ -0,0 +1,3 @@
+# To autoload set `settings set target.load-cwd-lldbinit true` in ~/.lldbinit
+command script import ./llvm/utils/lldbDataFormatters.py
+command script import ./clang/utils/ClangDataFormat.py


Index: .lldbinit
===================================================================
--- /dev/null
+++ .lldbinit
@@ -0,0 +1,3 @@
+# To autoload set `settings set target.load-cwd-lldbinit true` in ~/.lldbinit
+command script import ./llvm/utils/lldbDataFormatters.py
+command script import ./clang/utils/ClangDataFormat.py
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to