aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-04-09 09:03:43 +0000
committerPavel Labath <pavel@labath.sk>2019-04-09 09:03:43 +0000
commit26ca5a57bc4cb85ebb62cb3a3fc01dbeb3503554 (patch)
tree226d7a42b5783a065226173ed3d4aa63f095ea68 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent7e01ce2ed15a6d25097bedd70f5f91af516a7149 (diff)
downloadllvm-26ca5a57bc4cb85ebb62cb3a3fc01dbeb3503554.zip
llvm-26ca5a57bc4cb85ebb62cb3a3fc01dbeb3503554.tar.gz
llvm-26ca5a57bc4cb85ebb62cb3a3fc01dbeb3503554.tar.bz2
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
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions