HomePhabricator

Repair the build when LLDB_DISABLE_PYTHON is set

Authored by xiaobai on Mar 6 2019, 5:02 PM.

Description

Repair the build when LLDB_DISABLE_PYTHON is set

Summary:
If LLDB_DISABLE_PYTHON is set, some functions are unavailable but
SBReproducer assumes they are. Let's conditionally register those functions
since they are conditionally declared.

Differential Revision: https://reviews.llvm.org/D59056

llvm-svn: 355575

Details