hanchenye-llvm-project/lldb
Pavel Labath 26ca5a57bc Remove unneeded #ifdef SWIGs
Summary:
Some of these were present in files which should never be read by swig
(and we also had one in the interface file, which is only read by swig).
They are probably leftovers from the time when we were running swig over
lldb headers directly.

While writing this patch, I noticed that some of the #ifdefs were
guarding public functions that were operating on lldb_private data
types. While it wasn't strictly necessary for this patch, I made these
private, as nobody should really be accessing them. This can potentially
break existing code if it happened to use these methods, though it will
only break at build time -- if someone builds against an old header, he
should still be able to link to a new lldb library, since the functions
are still there.

We could keep these public for backward compatbility, but I would argue
that if anyone was actually using these functions for anything, his code
is already broken.

Reviewers: JDevlieghere, clayborg, jingham

Subscribers: lldb-commits

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

llvm-svn: 357984
2019-04-09 09:03:43 +00:00
..
cmake [CMake] Don't explicitly use LLVM_LIBRARY_DIR in standalone builds 2019-04-05 21:01:50 +00:00
docs Don't abort() in lldb_assert and document why. 2019-03-29 16:12:27 +00:00
examples python 2/3 compat: commands vs subprocess 2019-03-26 14:46:15 +00:00
include/lldb Remove unneeded #ifdef SWIGs 2019-04-09 09:03:43 +00:00
lit Breakpad: Parse Stack CFI records 2019-04-09 08:05:11 +00:00
lldb.xcodeproj [Platform] Remove Kalimba Platform 2019-03-27 16:23:50 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite Rename Target::GetSharedModule to Target::GetOrCreateModule. 2019-04-08 23:03:02 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts Remove unneeded #ifdef SWIGs 2019-04-09 09:03:43 +00:00
source Remove unneeded #ifdef SWIGs 2019-04-09 09:03:43 +00:00
test [CMake] Make lldb-test-deps a dependency of check-lldb 2019-02-13 20:51:13 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools Fix signed-unsigned comparison warning in Driver.cpp 2019-04-08 09:17:56 +00:00
unittests Minidump: use string parsing functionality from llvm 2019-04-09 08:28:27 +00:00
utils [lldb-dotest] Print dotest.py invocation. 2019-04-03 01:26:38 +00:00
www Don't abort() in lldb_assert and document why. 2019-03-29 16:12:27 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt Add lldb-vscode as a dependency of lldb tests. 2019-03-26 18:36:44 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py