summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallStdStringFunction.py
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2019-12-06 14:24:37 -0800
committerAlex Lorenz <arphaman@gmail.com>2019-12-06 14:28:28 -0800
commitf3efd6957474bfd3b9b232ac6e4b3608174c3b79 (patch)
treefbf82d313c6709844ad16b309d840bd0e560cb21 /lldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallStdStringFunction.py
parent3b42eb3512e680caa75c0c5016abf060b1c10bb6 (diff)
downloadbcm5719-llvm-f3efd6957474bfd3b9b232ac6e4b3608174c3b79.tar.gz
bcm5719-llvm-f3efd6957474bfd3b9b232ac6e4b3608174c3b79.zip
[ObjC] Make sure that the implicit arguments for direct methods have been setup
This commit sets the Self and Imp declarations for ObjC method declarations, in addition to the definitions. It also fixes a bunch of code in clang that had wrong assumptions about when getSelfDecl() would be set: - CGDebugInfo::getObjCMethodName and AnalysisConsumer::getFunctionName would assume that it was set for method declarations part of a protocol, which they never were, and that self would be a Class type, which it isn't as it is id for a protocol. Also use the Canonical Decl to index the set of Direct methods so that when calls and implementations interleave, the same llvm::Function is used and the same symbol name emitted. Radar-Id: rdar://problem/57661767 Patch by: Pierre Habouzit Differential Revision: https://reviews.llvm.org/D71091
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud