teak-llvm/lldb/packages/Python/lldbsuite/test/python_api
Pavel Labath 8d6b60c14c Embed swig version into lldb.py in a different way
Summary:
Instead of doing string chopping on the resulting python file, get swig
to output the version for us. The two things which make slightly
non-trivial are:
- in order to get swig to expand SWIG_VERSION for us, we cannot use
  %pythoncode directly, but we have to go through an intermediate macro.
- SWIG_VERSION is a hex number, but it's components are supposed to be
  interpreted decimally, so there is a bit of integer magic needed to
  get the right number to come out.

I've tested that this approach works both with the latest (3.0.12) and
oldest (1.3.40) supported swig.

Reviewers: zturner, jingham, serge-sans-paille

Subscribers: jdoerfert, lldb-commits

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

llvm-svn: 354104
2019-02-15 07:41:12 +00:00
..
breakpoint Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
class_members Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
debugger
default-constructor Make breakpoint names real entities. 2017-09-14 20:22:49 +00:00
disassemble-raw-data Add and fix some tests for PPC64 2018-03-26 12:42:07 +00:00
event Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
exprpath_synthetic Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
file_handle Revert r317182 for https://reviews.llvm.org/D39128 2017-11-02 03:17:07 +00:00
findvalue_duplist Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
formatters Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
frame Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
function_symbol Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
hello_world Disable a few tests on the green dragon sanitzier bot. 2018-12-20 23:16:47 +00:00
interpreter Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
lldbutil Embed swig version into lldb.py in a different way 2019-02-15 07:41:12 +00:00
module_section Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
name_lookup Remove header grouping comments. 2018-11-11 23:17:06 +00:00
objc_type Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
process Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
rdar-12481949 Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sbdata Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sblaunchinfo Add Utility/Environment class for handling... environments 2018-01-10 11:57:31 +00:00
sbstructureddata Added new API to SBStructuredData class 2017-05-29 08:25:46 +00:00
sbtype_typeclass Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
sbvalue_const_addrof
sbvalue_persist Remove header grouping comments. 2018-11-11 23:17:06 +00:00
section Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
signals Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
symbol-context Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
target Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
thread Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
type Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
value Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
value_var_update Build each testcase variant in its own subdirectory and remove the srcdir lock file 2018-02-06 18:22:51 +00:00
watchpoint Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
.categories