diff options
author | Sean Callanan <scallanan@apple.com> | 2011-11-12 02:31:32 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-11-12 02:31:32 +0000 |
commit | 0772ae1b53ff7022ae204ab3b9d1ac1ad36e5055 (patch) | |
tree | 524ec85fcdaefee539fd21040ce5c04519fc5315 /lldb/scripts/Python/edit-swig-python-wrapper-file.py | |
parent | 10d7e4fe596b0db00997dff47c7794d3be9734ca (diff) | |
download | bcm5719-llvm-0772ae1b53ff7022ae204ab3b9d1ac1ad36e5055.tar.gz bcm5719-llvm-0772ae1b53ff7022ae204ab3b9d1ac1ad36e5055.zip |
Fixed the MCJIT so that it can emit not only instance
methods but also class methods for Objective-C.
Clang emits Objective-C method names with '\1' at the
beginning, and the JIT has pre-existing logic to try
prepending a '\1' when searching a module for an
instance method (that is, a method whose name begins
with '-'). I simply extended it to do the same thing
when it encountered a class method (a method whose
name begins with '+').
llvm-svn: 144451
Diffstat (limited to 'lldb/scripts/Python/edit-swig-python-wrapper-file.py')
0 files changed, 0 insertions, 0 deletions