<rdar://problem/13963648>

Changes after feedback:
Directly use function pointer, just to be safer on 10.8.

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@182529 91177308-0d34-0410-b5e6-96231b3b80d8