diff options
Diffstat (limited to 'tools/intel-features/scripts/lldb-intel-features.swig')
-rw-r--r-- | tools/intel-features/scripts/lldb-intel-features.swig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/intel-features/scripts/lldb-intel-features.swig b/tools/intel-features/scripts/lldb-intel-features.swig new file mode 100644 index 0000000000000..c035fb6132dd3 --- /dev/null +++ b/tools/intel-features/scripts/lldb-intel-features.swig @@ -0,0 +1,16 @@ +%module lldbIntelFeatures + +%{ +#include "lldb/lldb-public.h" +#include "intel-pt/PTDecoder.h" +using namespace ptdecoder; +%} + +/* Undefine GCC keyword to make Swig happy when processing glibc's stdint.h */ +#define __extension__ + +/* Combined python typemap for all features */ +%include "python-typemaps.txt" + +/* Feature specific python interface files*/ +%include "../intel-pt/interface/PTDecoder.i" |