llvm-project/lldb/source
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
..
API Remove unneeded #ifdef SWIGs 2019-04-09 09:03:43 +00:00
Breakpoint Use the multi-lockable form of std::lock for operator= 2019-03-29 17:07:30 +00:00
Commands Rename Target::GetSharedModule to Target::GetOrCreateModule. 2019-04-08 23:03:02 +00:00
Core Rename Target::GetSharedModule to Target::GetOrCreateModule. 2019-04-08 23:03:02 +00:00
DataFormatters [DataFormatters] Remove LLDB_DISABLE_PYTHON from TypeCategory. 2019-03-15 16:55:51 +00:00
Expression Rename Target::GetSharedModule to Target::GetOrCreateModule. 2019-04-08 23:03:02 +00:00
Host Fix a stack buffer overflow found by ASAN. 2019-04-08 21:58:36 +00:00
Initialization [Reproducers] Initialize reproducers before initializing the debugger. 2019-02-21 22:26:16 +00:00
Interpreter [NFC] find_first_of/find_last_of -> find/rfind for single char. 2019-03-28 18:10:14 +00:00
Plugins Minidump: use string parsing functionality from llvm 2019-04-09 08:28:27 +00:00
Symbol Remove the TypePair class 2019-03-26 13:35:54 +00:00
Target Rename Target::GetSharedModule to Target::GetOrCreateModule. 2019-04-08 23:03:02 +00:00
Utility [Reproducers] Capture return values of functions returning by ptr/ref 2019-04-03 21:31:22 +00:00
CMakeLists.txt [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00
lldb.cpp [CMake] Unify scripts for generating VCS headers 2019-02-06 03:51:00 +00:00