This is an archive of the discontinued LLVM Phabricator instance.

[Docs] Add Python caveats under the development section
ClosedPublic

Authored by JDevlieghere on Nov 14 2019, 9:59 AM.

Details

Summary

This adds a page named Caveats with a section on some of the things to be aware of related to Python. It's a question we've seen more than once pop up and I think it's good to have it documentation on the website. Even though some of it might be useful to users, I still put it under "development" because it requires some understanding of how LLDB is built.

Diff Detail

Event Timeline

JDevlieghere created this revision.Nov 14 2019, 9:59 AM

Thank you for writing this up! I was thinking how I would find this.. I don't see myself clicking on the "Caveats" link (could also be a me problem though). Could we also add a link to it in this section? https://lldb.llvm.org/resources/build.html#id22. Something like "NOTE: You need to use the python binary you built with, check caveats to learn more"?

aprantl added inline comments.
lldb/docs/resources/caveats.rst
35

That 's confusingly worded... is the Python that's part of Xcode the same as the system's Python interpreter?

Address feedback

aadsm accepted this revision.Nov 15 2019, 6:56 PM
This revision is now accepted and ready to land.Nov 15 2019, 6:56 PM
This revision was automatically updated to reflect the committed changes.